class StylesCombo

Defines the "stylescombo" plugin.

Plugin annotation


@CKEditorPlugin(
  id = "stylescombo",
  label = @Translation("Styles dropdown")
)

Hierarchy

Expanded class hierarchy of StylesCombo

File

drupal/core/modules/ckeditor/lib/Drupal/ckeditor/Plugin/CKEditorPlugin/StylesCombo.php, line 25
Contains \Drupal\ckeditor\Plugin\CKEditorPlugin\StylesCombo.

Namespace

Drupal\ckeditor\Plugin\CKEditorPlugin
View source

Members

Namesort descending Modifiers Type Description Overrides
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition.
PluginBase::$pluginId protected property The plugin_id.
PluginBase::getPluginDefinition public function Returns the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition
PluginBase::getPluginId public function Returns the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::__construct public function Constructs a Drupal\Component\Plugin\PluginBase object. 17
StylesCombo::generateStylesSetSetting protected function Builds the "stylesSet" configuration part of the CKEditor JS settings.
StylesCombo::getButtons public function Implements \Drupal\ckeditor\Plugin\CKEditorPluginButtonsInterface::getButtons(). Overrides CKEditorPluginButtonsInterface::getButtons
StylesCombo::getConfig public function Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getConfig(). Overrides CKEditorPluginInterface::getConfig
StylesCombo::getFile public function Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getFile(). Overrides CKEditorPluginInterface::getFile
StylesCombo::isInternal public function Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::isInternal(). Overrides CKEditorPluginBase::isInternal
StylesCombo::settingsForm public function Implements \Drupal\ckeditor\Plugin\CKEditorPluginConfigurableInterface::settingsForm(). Overrides CKEditorPluginConfigurableInterface::settingsForm
StylesCombo::validateStylesValue public function #element_validate handler for the "styles" element in settingsForm().