You are here

public function ContextInterface::addCondition in Context 8

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

Set the conditions.

Parameters

array $configuration: The configuration for the condition plugin.

Return value

string

1 method overrides ContextInterface::addCondition()
Context::addCondition in src/Entity/Context.php
Set the conditions.

File

src/ContextInterface.php, line 148

Class

ContextInterface

Namespace

Drupal\context

Code

public function addCondition(array $configuration);