You are here

public function PluginBase::getPluginDefinition in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginDefinition()
  2. 9 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::getPluginDefinition()
9 calls to PluginBase::getPluginDefinition()
EntityResource::getBaseRoute in core/modules/rest/src/Plugin/rest/resource/EntityResource.php
Gets the base route for a particular method.
EntityResource::patch in core/modules/rest/src/Plugin/rest/resource/EntityResource.php
Responds to entity PATCH requests.
EntityResource::post in core/modules/rest/src/Plugin/rest/resource/EntityResource.php
Responds to entity POST requests and saves the new entity.
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.

... See full list

2 methods override PluginBase::getPluginDefinition()
Migration::getPluginDefinition in core/modules/migrate/src/Plugin/Migration.php
Gets the definition of the plugin implementation.
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;
}