You are here

public function ContextInterface::setName in Context 8

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

Set the machine name of the context.

Parameters

string $name:

Return value

$this

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

File

src/ContextInterface.php, line 39

Class

ContextInterface

Namespace

Drupal\context

Code

public function setName($name);