Search for getPlugin

  1. Search 7.x for getPlugin
  2. Search 9.5.x for getPlugin
  3. Search 8.9.x for getPlugin
  4. Search 11.x for getPlugin
  5. Other projects
Title Object type File name Summary
HelpTopicSection::getPlugins function core/modules/help/src/Plugin/HelpSection/HelpTopicSection.php Gets the top level help topic plugins.
ImageStyle::getPluginCollections function core/modules/image/src/Entity/ImageStyle.php
InvalidPluginDefinitionException::getPluginId function core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php Gets the plugin ID of the mapper that raised the exception.
LanguageNegotiationContentEntityTest::getPluginClass function core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php Returns the plugin class to use for creating the language negotiation plugin.
LanguageNegotiationTestBase::getPluginClass function core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php Returns the plugin class to use for creating the language negotiation plugin.
LayoutDefault::getPluginDefinition function core/lib/Drupal/Core/Layout/LayoutDefault.php
LayoutInterface::getPluginDefinition function core/lib/Drupal/Core/Layout/LayoutInterface.php
LazyPluginCollectionTestBase::getPluginDefinitions function core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php Returns some example plugin definitions.
LazyPluginCollectionTestBase::getPluginMock function core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php Returns a mocked plugin object.
MediaType::getPluginCollections function core/modules/media/src/Entity/MediaType.php
MenuLinkContent::getPluginDefinition function core/modules/menu_link_content/src/Entity/MenuLinkContent.php Builds up the menu link plugin definition for this entity.
MenuLinkContent::getPluginId function core/modules/menu_link_content/src/Entity/MenuLinkContent.php Gets the menu plugin ID associated with this entity.
MenuLinkContentInterface::getPluginDefinition function core/modules/menu_link_content/src/MenuLinkContentInterface.php Builds up the menu link plugin definition for this entity.
MenuLinkContentInterface::getPluginId function core/modules/menu_link_content/src/MenuLinkContentInterface.php Gets the menu plugin ID associated with this entity.
MigrateFieldPluginManager::getPluginIdFromFieldType function core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManager.php Get the plugin ID from the field type.
MigrateFieldPluginManagerInterface::getPluginIdFromFieldType function core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManagerInterface.php Get the plugin ID from the field type.
MigrateSourceTestBase::getPlugin function core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php Instantiates the source plugin under test.
MigrateSourceTestBase::getPluginClass function core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php Determines the plugin to be tested by reading the class @covers annotation.
Migration::getPluginDefinition function core/modules/migrate/src/Plugin/Migration.php Gets the definition of the plugin implementation.
ObjectWithPluginCollectionInterface::getPluginCollections function core/lib/Drupal/Core/Plugin/ObjectWithPluginCollectionInterface.php Gets the plugin collections used by this object.
PageDisplayVariantSelectionEvent::getPluginConfiguration function core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php Get the configuration for the selected page display variant.
PageDisplayVariantSelectionEvent::getPluginId function core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php The selected page display variant plugin ID.
PathFieldDefinitionTest::getPluginId function core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php Returns the plugin ID of the tested field type.
PluginBase::getPluginDefinition function core/lib/Drupal/Component/Plugin/PluginBase.php Gets the definition of the plugin implementation.
PluginBase::getPluginId function core/lib/Drupal/Component/Plugin/PluginBase.php Gets the plugin ID of the plugin instance.
PluginBaseTest::providerTestGetPluginId function core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php Returns test data for testGetPluginId().
PluginBaseTest::testGetPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php @covers ::getPluginDefinition
PluginBaseTest::testGetPluginId function core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php @dataProvider providerTestGetPluginId
@covers ::getPluginId
PluginDependencyTrait::getPluginDependencies function core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php Calculates and returns dependencies of a specific plugin instance.
PluginDependencyTraitTest::testGetPluginDependencies function core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php @covers ::getPluginDependencies
PluginInspectionInterface::getPluginDefinition function core/lib/Drupal/Component/Plugin/PluginInspectionInterface.php Gets the definition of the plugin implementation.
PluginInspectionInterface::getPluginId function core/lib/Drupal/Component/Plugin/PluginInspectionInterface.php Gets the plugin ID of the plugin instance.
QueryBatchTest::getPlugin function core/modules/migrate/tests/src/Kernel/QueryBatchTest.php Instantiates the source plugin under test.
RestResourceConfig::getPluginCollections function core/modules/rest/src/Entity/RestResourceConfig.php
SearchPage::getPlugin function core/modules/search/src/Entity/SearchPage.php Returns the search plugin.
SearchPage::getPluginCollection function core/modules/search/src/Entity/SearchPage.php Encapsulates the creation of the search page's LazyPluginCollection.
SearchPage::getPluginCollections function core/modules/search/src/Entity/SearchPage.php
SearchPageInterface::getPlugin function core/modules/search/src/SearchPageInterface.php Returns the search plugin.
SectionComponent::getPlugin function core/modules/layout_builder/src/SectionComponent.php Gets the plugin for this component.
SectionComponent::getPluginId function core/modules/layout_builder/src/SectionComponent.php Gets the plugin ID.
SectionComponentBuildRenderArrayEvent::getPlugin function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Get the plugin for the section component being built.
SectionStorageInterface::getPluginDefinition function core/modules/layout_builder/src/SectionStorageInterface.php Overrides \Drupal\Component\Plugin\PluginInspectionInterface::getPluginDefinition().
SelectionPluginManager::getPluginId function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManager.php
SelectionPluginManagerInterface::getPluginId function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManagerInterface.php Gets the plugin ID for a given target entity type and base plugin ID.
StubReflectionFactory::getPluginClass function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php Finds the class relevant for a given plugin.
Test::getPluginDefinition function core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Gets the definition of the plugin implementation.
TestConfigEntityWithPluginCollections::getPluginCollections function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
TypedData::getPluginDefinition function core/lib/Drupal/Core/TypedData/TypedData.php Gets the definition of the plugin implementation.
TypedData::getPluginId function core/lib/Drupal/Core/TypedData/TypedData.php Gets the plugin ID of the plugin instance.
ViewExecutable::getPluginTypes function core/modules/views/src/ViewExecutable.php Returns the valid types of plugins that can be used.

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