namespace Drupal\Core\Plugin

Same name in other branches
  1. 8.9.x Drupal\Core\Plugin
  2. 10 Drupal\Core\Plugin
  3. 11.x Drupal\Core\Plugin
Object name File name Summary
CachedDiscoveryClearer core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php Defines a class which is capable of clearing the cache on plugin managers.
CachedDiscoveryClearerInterface core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php Provides a way to clear static caches of all plugin managers.
CategorizingPluginManagerTrait core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php Provides a trait for the CategorizingPluginManagerInterface.
ContainerFactoryPluginInterface core/lib/Drupal/Core/Plugin/ContainerFactoryPluginInterface.php Defines an interface for pulling plugin dependencies from the container.
ContextAwarePluginAssignmentTrait core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php Handles context assignments for context-aware plugins.
ContextAwarePluginBase core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php Base class for plugins that are context aware.
ContextAwarePluginInterface core/lib/Drupal/Core/Plugin/ContextAwarePluginInterface.php An override of ContextAwarePluginInterface for documentation purposes.
ContextAwarePluginTrait core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php Provides a trait to add context-aware functionality to plugins.
DefaultLazyPluginCollection core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php Provides a default plugin collection for a plugin type.
DefaultPluginManager core/lib/Drupal/Core/Plugin/DefaultPluginManager.php Base class for plugin managers.
DefaultSingleLazyPluginCollection core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php Provides a default plugin collection for a plugin type.
FilteredPluginManagerInterface core/lib/Drupal/Core/Plugin/FilteredPluginManagerInterface.php Provides an interface for plugin managers that allow filtering definitions.
FilteredPluginManagerTrait core/lib/Drupal/Core/Plugin/FilteredPluginManagerTrait.php Provides a trait for plugin managers that allow filtering plugin definitions.
ObjectWithPluginCollectionInterface core/lib/Drupal/Core/Plugin/ObjectWithPluginCollectionInterface.php Provides an interface for an object using a plugin collection.
PluginBase core/lib/Drupal/Core/Plugin/PluginBase.php Base class for plugins supporting metadata inspection and translation.
PluginDependencyTrait core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php Provides a trait for calculating the dependencies of a plugin.
PluginFormBase core/lib/Drupal/Core/Plugin/PluginFormBase.php Provides a base class for plugin forms.
PluginFormFactory core/lib/Drupal/Core/Plugin/PluginFormFactory.php Provides form discovery capabilities for plugins.
PluginFormFactoryInterface core/lib/Drupal/Core/Plugin/PluginFormFactoryInterface.php Provides an interface for retrieving form objects for plugins.
PluginFormInterface core/lib/Drupal/Core/Plugin/PluginFormInterface.php Provides an interface for an embeddable plugin form.
PluginManagerPass core/lib/Drupal/Core/Plugin/PluginManagerPass.php Registers plugin managers to the plugin.cache_clearer service.
PluginWithFormsInterface core/lib/Drupal/Core/Plugin/PluginWithFormsInterface.php Provides an interface for plugins which have forms.
PluginWithFormsTrait core/lib/Drupal/Core/Plugin/PluginWithFormsTrait.php Provides a trait with typical behavior for plugins which have forms.
PreviewAwarePluginInterface core/lib/Drupal/Core/Plugin/PreviewAwarePluginInterface.php Provides an interface to support preview mode injection in plugins.

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