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

Breadcrumb

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

function PluginAwareInterface::setPlugin

Sets the plugin for this object.

Parameters

\Drupal\Component\Plugin\PluginInspectionInterface $plugin: The plugin.

4 methods override PluginAwareInterface::setPlugin()
PluginFormBase::setPlugin in core/lib/Drupal/Core/Plugin/PluginFormBase.php
Sets the plugin for this object.
WorkflowTypeConfigureFormBase::setPlugin in core/modules/workflows/src/Plugin/WorkflowTypeConfigureFormBase.php
Sets the plugin for this object.
WorkflowTypeStateFormBase::setPlugin in core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php
Sets the plugin for this object.
WorkflowTypeTransitionFormBase::setPlugin in core/modules/workflows/src/Plugin/WorkflowTypeTransitionFormBase.php
Sets the plugin for this object.

File

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

Class

PluginAwareInterface
Provides an interface for objects that depend on a plugin.

Namespace

Drupal\Component\Plugin

Code

public function setPlugin(PluginInspectionInterface $plugin);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal