public function Context::getName in Context 8
Same name and namespace in other branches
- 8.4 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
Overrides ContextInterface::getName
File
- src/
Entity/ Context.php, line 142  
Class
- Context
 - Defines the Context entity.
 
Namespace
Drupal\context\EntityCode
public function getName() {
  return $this->name;
}