You are here

public function RuleComponent::getPluginId in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Entity/RuleComponent.php \Drupal\rng\Entity\RuleComponent::getPluginId()
  2. 3.x src/Entity/RuleComponent.php \Drupal\rng\Entity\RuleComponent::getPluginId()

Gets the plugin ID.

Return value

string The plugin ID.

Overrides RuleComponentInterface::getPluginId

1 call to RuleComponent::getPluginId()
RuleComponent::createInstance in src/Entity/RuleComponent.php
Gets the configuration for the component.

File

src/Entity/RuleComponent.php, line 71

Class

RuleComponent
Defines a event rule plugin instance entity: a condition or action.

Namespace

Drupal\rng\Entity

Code

public function getPluginId() {
  return $this
    ->get('action')->value;
}