You are here

public function ContextInterface::id in Context 8.0

Same name and namespace in other branches
  1. 8.4 src/ContextInterface.php \Drupal\context\ContextInterface::id()
  2. 8 src/ContextInterface.php \Drupal\context\ContextInterface::id()

Get the ID of the context.

Return value

string

Overrides EntityInterface::id

File

src/ContextInterface.php, line 23

Class

ContextInterface

Namespace

Drupal\context

Code

public function id();