Search for getPlugin

  1. Search 7.x for getPlugin
  2. Search 8.9.x for getPlugin
  3. Search 10.3.x for getPlugin
  4. Search 11.x for getPlugin
  5. Other projects
Title Object type File name Summary
AnnotatedClassDiscovery::getPluginNamespaces function core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php Gets an array of PSR-4 namespaces to search for plugin classes.
AnnotatedClassDiscovery::getPluginNamespaces function core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php Gets an array of PSR-4 namespaces to search for plugin classes.
AnnotatedClassDiscoveryTest::testGetPluginNamespaces function core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php @covers ::__construct[[api-linebreak]]
@covers ::getPluginNamespaces[[api-linebreak]]
BaseFieldDefinitionTestBase::getPluginId function core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php Returns the plugin ID of the tested field type.
ContextAwarePluginTrait::getPluginDefinition function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
DefaultFactory::getPluginClass function core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Finds the class relevant for a given plugin.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithMissingClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a missing class definition.
DefaultFactoryTest::testGetPluginClassWithMissingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a missing class definition.
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a non-existent class definition.
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a non-existent class definition.
DefaultFactoryTest::testGetPluginClassWithValidArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid array plugin definition.
DefaultFactoryTest::testGetPluginClassWithValidObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid object plugin definition.
DefaultLazyPluginCollectionTest::getPluginMock function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php Returns a mocked plugin object.
EntityDisplayBase::getPluginRemovedDependencies function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Returns the plugin dependencies being removed.
EntityFormDisplay::getPluginCollections function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Gets the plugin collections used by this object.
EntityViewDisplay::getPluginCollections function core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php Gets the plugin collections used by this object.
FieldTypePluginManager::getPluginClass function core/lib/Drupal/Core/Field/FieldTypePluginManager.php Returns the PHP class that implements the field type plugin.
FieldTypePluginManagerInterface::getPluginClass function core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php Returns the PHP class that implements the field type plugin.
InvalidPluginDefinitionException::getPluginId function core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php Gets the plugin ID of the mapper that raised the exception.
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.
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.
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[[api-linebreak]]
PluginBaseTest::testGetPluginId function core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php @dataProvider providerTestGetPluginId
@covers ::getPluginId[[api-linebreak]]
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[[api-linebreak]]
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.
SelectionPluginManager::getPluginId function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManager.php Gets the plugin ID for a given target entity type and base plugin ID.
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.
TestConfigEntityWithPluginCollections::getPluginCollections function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php Gets the plugin collections used by this object.
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.
WidgetPluginManager class core/lib/Drupal/Core/Field/WidgetPluginManager.php Plugin type manager for field widgets.
WidgetPluginManager.php file core/lib/Drupal/Core/Field/WidgetPluginManager.php
WidgetPluginManager::$fieldTypeManager property core/lib/Drupal/Core/Field/WidgetPluginManager.php The field type manager to define field.
WidgetPluginManager::$widgetOptions property core/lib/Drupal/Core/Field/WidgetPluginManager.php An array of widget options for each field type.
WidgetPluginManager::createInstance function core/lib/Drupal/Core/Field/WidgetPluginManager.php Creates a pre-configured instance of a plugin.

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