$config ) { if ( is_array( $config ) ) { $components['typography']['config'][ $control ]['css_suffix'] = ''; } } $components['typography']['config']['FontColor']['important'] = true; $components['typography']['config']['FontSize']['important'] = true; /* add a suffix and prefix for the shadow controls */ $components['shadow']['config']['css_prefix'] = $prefix_config; $components['layout']['disabled_controls'] = [ 'Display', 'Alignment', '.tve-advanced-controls' ]; $components['animation'] = [ 'hidden' => true ]; $components['responsive'] = [ 'hidden' => true ]; $components['styles-templates'] = [ 'hidden' => true ]; return $components; } /** * Hide this element in the sidebar. * * @return string */ public function hide() { return true; } /** * @return bool */ public function has_hover_state() { return true; } }