You are here

public function ContextInterface::id in Context 8.4

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

Get the ID of the context.

Return value

string The the ID of the context.

Overrides EntityInterface::id

File

src/ContextInterface.php, line 24

Class

ContextInterface
Provides an interface for Context.

Namespace

Drupal\context

Code

public function id();