public function RuleComponent::getPluginId in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Entity/RuleComponent.php \Drupal\rng\Entity\RuleComponent::getPluginId()
- 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\EntityCode
public function getPluginId() {
return $this
->get('action')->value;
}