function Action::getType

Same name and namespace in other branches
  1. 9 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::getType()
  2. 8.9.x core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::getType()
  3. 10 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::getType()

Returns the operation type.

The operation type can be NULL if no type is specified.

Return value

string|null The operation type, or NULL if no type is specified.

Overrides ActionConfigEntityInterface::getType

File

core/modules/system/src/Entity/Action.php, line 166

Class

Action
Defines the configured action entity.

Namespace

Drupal\system\Entity

Code

public function getType() {
  return $this->type;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.