Drupal 8  8.0.2
PluginInspectionInterface Interface Reference
Inheritance diagram for PluginInspectionInterface:

Public Member Functions

 getPluginId ()
 
 getPluginDefinition ()
 

Detailed Description

Plugin interface for providing some metadata inspection.

This interface provides some simple tools for code receiving a plugin to interact with the plugin system.

Member Function Documentation

getPluginDefinition ( )

Gets the definition of the plugin implementation.

Returns
array The plugin definition, as returned by the discovery object used by the plugin manager.

Implemented in PluginBase, and TypedData.

Referenced by InaccessibleMenuLink\__construct(), BlockBase\buildConfigurationForm(), BlockBase\getMachineNameSuggestion(), PluginBase\getProvider(), PathPluginBase\getRoute(), WidgetBase\handlesMultipleValues(), BlockBase\label(), ResourceBase\permissions(), and ResourceBase\routes().

Here is the caller graph for this function:


The documentation for this interface was generated from the following file: