You are here

PluginAwareInterface.php in Drupal 9

Same filename and directory in other branches
  1. 8 core/lib/Drupal/Component/Plugin/PluginAwareInterface.php

File

core/lib/Drupal/Component/Plugin/PluginAwareInterface.php
View source
<?php

namespace Drupal\Component\Plugin;


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

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

}

Interfaces

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