public function Context::getName in Context 8.4
Same name and namespace in other branches
- 8 src/Entity/Context.php \Drupal\context\Entity\Context::getName()
- 8.0 src/Entity/Context.php \Drupal\context\Entity\Context::getName()
Get the machine name of the context.
Return value
string The machine name of the context.
Overrides ContextInterface::getName
File
- src/
Entity/ Context.php, line 145
Class
- Context
- Defines the Context entity.
Namespace
Drupal\context\EntityCode
public function getName() {
return $this->name;
}