You are here

public function ContextInterface::getName in Context 8.4

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

Get the machine name of the context.

Return value

string The machine name of the context.

1 method overrides ContextInterface::getName()
Context::getName in src/Entity/Context.php
Get the machine name of the context.

File

src/ContextInterface.php, line 32

Class

ContextInterface
Provides an interface for Context.

Namespace

Drupal\context

Code

public function getName();