You are here

class NewAcme in Plug 7

Class NewAcme @package Drupal\plug_example\Plugin\name

Plugin annotation


@Name(
  id = "new_acme",
  company = TRUE
)

Hierarchy

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\name
View source
class NewAcme extends NameBase implements NameInterface {
  protected $name = 'New Acme';

}

Members

Namesort descending Modifiers Type Description Overrides
NameBase::displayName public function Displays a name. Overrides NameInterface::displayName
NameBase::t protected static function 2
NewAcme::$name protected property The name. Overrides NameBase::$name
PluginBase::$configuration protected property Configuration information passed into the plugin.
PluginBase::$pluginDefinition protected property The plugin implementation definition.
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::__construct public function Constructs a Drupal\Component\Plugin\PluginBase object. 1