function ContextAwarePluginDefinitionInterface::removeContextDefinition

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::removeContextDefinition()
  2. 10 core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::removeContextDefinition()
  3. 11.x core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::removeContextDefinition()

Removes a context definition from this plugin.

Parameters

string $name: The context name.

Return value

$this The called object.

File

core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php, line 69

Class

ContextAwarePluginDefinitionInterface
Provides an interface for plugin definitions which use contexts.

Namespace

Drupal\Component\Plugin\Definition

Code

public function removeContextDefinition($name);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.