public function ContextInterface::getCondition in Context 8
Same name and namespace in other branches
- 8.4 src/ContextInterface.php \Drupal\context\ContextInterface::getCondition()
- 8.0 src/ContextInterface.php \Drupal\context\ContextInterface::getCondition()
Get a condition with the specified ID.
Parameters
string $condition_id: The condition to get.
Return value
\Drupal\Core\Condition\ConditionInterface
1 method overrides ContextInterface::getCondition()
- Context::getCondition in src/
Entity/ Context.php - Get a condition with the specified ID.
File
- src/
ContextInterface.php, line 138
Class
Namespace
Drupal\contextCode
public function getCondition($condition_id);