public function Context::id in Context 8.0
Same name and namespace in other branches
- 8.4 src/Entity/Context.php \Drupal\context\Entity\Context::id()
- 8 src/Entity/Context.php \Drupal\context\Entity\Context::id()
Returns the ID of the context. The ID is the unique machine name of the context.
Overrides EntityBase::id
File
- src/
Entity/ Context.php, line 133
Class
- Context
- Defines the Context entity.
Namespace
Drupal\context\EntityCode
public function id() {
return $this->name;
}