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

Breadcrumb

  1. Drupal Core 11.1.x

PluginAwareInterface.php

Namespace

Drupal\Component\Plugin

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

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

API Navigation

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