class NewAcme in Plug 7
Class NewAcme @package Drupal\plug_example\Plugin\name
Plugin annotation
@Name(
id = "new_acme",
company = TRUE
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\plug_example\Plugin\name\NameBase implements NameInterface
- class \Drupal\plug_test\Plugin\name\NewAcme implements NameInterface
- class \Drupal\plug_example\Plugin\name\NameBase implements NameInterface
Expanded class hierarchy of NewAcme
File
- modules/
plug_test/ src/ Plugin/ name/ NewAcme.php, line 22 - Contains Drupal\plug_test\Plugin\name\NewAcme
Namespace
Drupal\plug_test\Plugin\nameView source
class NewAcme extends NameBase implements NameInterface {
protected $name = 'New Acme';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NameBase:: |
public | function |
Displays a name. Overrides NameInterface:: |
|
NameBase:: |
protected static | function | 2 | |
NewAcme:: |
protected | property |
The name. Overrides NameBase:: |
|
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 |