You are here

public function PluginBase::getPluginDefinition in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginDefinition()

Gets the definition of the plugin implementation.

Return value

array The plugin definition, as returned by the discovery object used by the plugin manager.

Overrides PluginInspectionInterface::getPluginDefinition

18 calls to PluginBase::getPluginDefinition()
BlockBase::buildConfigurationForm in core/lib/Drupal/Core/Block/BlockBase.php
Creates a generic configuration form for all block types. Individual block plugins can add elements to this form by overriding BlockBase::blockForm(). Most block plugins should not override this method unless they need to alter the generic form elements.
BlockBase::getMachineNameSuggestion in core/lib/Drupal/Core/Block/BlockBase.php
Suggests a machine name to identify an instance of this block.
BlockBase::label in core/lib/Drupal/Core/Block/BlockBase.php
Returns the user-facing block label.
ContextAwarePluginBase::getContextDefinition in core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
Gets a specific context definition of the plugin.
ContextAwarePluginBase::getContextDefinitions in core/lib/Drupal/Component/Plugin/ContextAwarePluginBase.php
Gets the context definitions of the plugin.

... See full list

File

core/lib/Drupal/Component/Plugin/PluginBase.php, line 96
Contains \Drupal\Component\Plugin\PluginBase.

Class

PluginBase
Base class for plugins wishing to support metadata inspection.

Namespace

Drupal\Component\Plugin

Code

public function getPluginDefinition() {
  return $this->pluginDefinition;
}