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 10.3.x for getPlugin
  5. Other projects
Title Object type File name Summary
Action::getPlugin function core/modules/system/src/Entity/Action.php Returns the operation plugin.
Action::getPluginCollection function core/modules/system/src/Entity/Action.php Encapsulates the creation of the action's LazyPluginCollection.
Action::getPluginCollections function core/modules/system/src/Entity/Action.php
Action::getPluginDefinition function core/modules/system/src/Entity/Action.php
ActionConfigEntityInterface::getPlugin function core/modules/system/src/ActionConfigEntityInterface.php Returns the operation plugin.
ActionFormBase::getPlugin function core/modules/action/src/Form/ActionFormBase.php Gets the action plugin while ensuring it implements configuration form.
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
@covers ::getPluginNamespaces
ArgumentPluginBase::getPlugin function core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php Get the display or row plugin, if it exists.
AttributeClassDiscovery::getPluginNamespaces function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Gets an array of PSR-4 namespaces to search for plugin classes.
AttributeClassDiscovery::getPluginNamespaces function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Gets an array of PSR-4 namespaces to search for plugin classes.
AttributeClassDiscoveryTest::testGetPluginNamespaces function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @covers ::__construct
@covers ::getPluginNamespaces
BaseFieldDefinitionTestBase::getPluginId function core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php Returns the plugin ID of the tested field type.
Block::getPlugin function core/modules/block/src/Entity/Block.php Returns the plugin instance.
Block::getPluginCollection function core/modules/block/src/Entity/Block.php Encapsulates the creation of the block's LazyPluginCollection.
Block::getPluginCollections function core/modules/block/src/Entity/Block.php
Block::getPluginId function core/modules/block/src/Entity/Block.php Returns the plugin ID.
BlockEntitySettingTrayForm::getPluginForm function core/modules/settings_tray/src/Block/BlockEntitySettingTrayForm.php Retrieves the plugin form for a given block and operation.
BlockForm::getPluginForm function core/modules/block/src/BlockForm.php Retrieves the plugin form for a given block and operation.
BlockInterface::getPlugin function core/modules/block/src/BlockInterface.php Returns the plugin instance.
BlockInterface::getPluginId function core/modules/block/src/BlockInterface.php Returns the plugin ID.
CKEditor5PluginManager::getPlugin function core/modules/ckeditor5/src/Plugin/CKEditor5PluginManager.php
CKEditor5PluginManager::getPluginConfiguration function core/modules/ckeditor5/src/Plugin/CKEditor5PluginManager.php Gets the plugin configuration (if any) from a text editor config entity.
CKEditor5PluginManagerInterface::getPlugin function core/modules/ckeditor5/src/Plugin/CKEditor5PluginManagerInterface.php Returns a CKEditor 5 plugin with configuration from the editor.
ConfigureBlockFormBase::getPluginForm function core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php Retrieves the plugin form for a given block.
ConfigureSectionForm::getPluginForm function core/modules/layout_builder/src/Form/ConfigureSectionForm.php Retrieves the plugin form for a given layout.
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
DisplayKernelTest::testGetPlugin function core/modules/views/tests/src/Kernel/Plugin/DisplayKernelTest.php Tests the \Drupal\views\Plugin\views\display\DisplayPluginBase::getPlugin() method.
DisplayPluginBase::getPlugin function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Get the instance of a plugin, for example style or row.
DisplayPluginInterface::getPlugin function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Get the instance of a plugin, for example style or row.
EntityDisplayBase::getPluginRemovedDependencies function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Returns the plugin dependencies being removed.
EntityDisplayBaseMockableClass::getPluginCollections function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php
EntityFormDisplay::getPluginCollections function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php
EntityViewDisplay::getPluginCollections function core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php
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.
FilterFormat::getPluginCollections function core/modules/filter/src/Entity/FilterFormat.php

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