function PluginBase::getPluginDefinition

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginDefinition()
  2. 10 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginDefinition()
  3. 8.9.x core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginDefinition()
2 calls to PluginBase::getPluginDefinition()
OEmbed::buildConfigurationForm in core/modules/media/src/Plugin/media/Source/OEmbed.php
Form constructor.
OEmbed::createSourceField in core/modules/media/src/Plugin/media/Source/OEmbed.php
Creates the source field definition for a type.
1 method overrides PluginBase::getPluginDefinition()
Test::getPluginDefinition in core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php
Gets the definition of the plugin implementation.

File

core/lib/Drupal/Component/Plugin/PluginBase.php, line 92

Class

PluginBase
Base class for plugins wishing to support metadata inspection.

Namespace

Drupal\Component\Plugin

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.