class Mom in Plug 7
Class Mom @package Drupal\plug_example\Plugins
Plugin annotation
@Name(
id = "mom",
company = FALSE
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\plug_example\Plugin\name\NameBase implements NameInterface
- class \Drupal\plug_example\Plugin\name\Mom implements NameInterface
- class \Drupal\plug_example\Plugin\name\NameBase implements NameInterface
Expanded class hierarchy of Mom
File
- modules/
plug_example/ src/ Plugin/ name/ Mom.php, line 19 - Contains Drupal\plug_example\Plugin\name\Mom
Namespace
Drupal\plug_example\Plugin\nameView source
class Mom extends NameBase implements NameInterface {
protected $name = 'Mom';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Mom:: |
protected | property |
The name. Overrides NameBase:: |
|
NameBase:: |
public | function |
Displays a name. Overrides NameInterface:: |
|
NameBase:: |
protected static | function | 2 | |
PluginBase:: |
protected | property | Configuration information passed into the plugin. | |
PluginBase:: |
protected | property | The plugin implementation definition. | |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Constructs a Drupal\Component\Plugin\PluginBase object. | 1 |