You are here

public function RuleComponentInterface::getType in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 3.x src/Entity/RuleComponentInterface.php \Drupal\rng\Entity\RuleComponentInterface::getType()

Gets the component type.

Return value

string The component type: 'action' or 'condition'.

1 method overrides RuleComponentInterface::getType()
RuleComponent::getType in src/Entity/RuleComponent.php
Gets the component type.

File

src/Entity/RuleComponentInterface.php, line 34

Class

RuleComponentInterface
Provides an interface for rule component entities.

Namespace

Drupal\rng\Entity

Code

public function getType();