Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PluginAwareInterface.php

interface PluginAwareInterface

Provides an interface for objects that depend on a plugin.

Hierarchy

  • interface \Drupal\Component\Plugin\PluginAwareInterface

Expanded class hierarchy of PluginAwareInterface

All classes that implement PluginAwareInterface

5 files declare their use of PluginAwareInterface
PluginFormBase.php in core/lib/Drupal/Core/Plugin/PluginFormBase.php
PluginFormFactory.php in core/lib/Drupal/Core/Plugin/PluginFormFactory.php
WorkflowTypeConfigureFormBase.php in core/modules/workflows/src/Plugin/WorkflowTypeConfigureFormBase.php
WorkflowTypeStateFormBase.php in core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php
WorkflowTypeTransitionFormBase.php in core/modules/workflows/src/Plugin/WorkflowTypeTransitionFormBase.php

File

core/lib/Drupal/Component/Plugin/PluginAwareInterface.php, line 8

Namespace

Drupal\Component\Plugin
View source
interface PluginAwareInterface {
    
    /**
     * Sets the plugin for this object.
     *
     * @param \Drupal\Component\Plugin\PluginInspectionInterface $plugin
     *   The plugin.
     */
    public function setPlugin(PluginInspectionInterface $plugin);

}

Members

Title Sort descending Modifiers Object type Summary Overrides
PluginAwareInterface::setPlugin public function Sets the plugin for this object. 4
RSS feed
Powered by Drupal