function Context::getContextDefinition

Same name in this branch
  1. 10 core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::getContextDefinition()
Same name in other branches
  1. 9 core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::getContextDefinition()
  2. 9 core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::getContextDefinition()
  3. 8.9.x core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::getContextDefinition()
  4. 8.9.x core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::getContextDefinition()
  5. 11.x core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::getContextDefinition()
  6. 11.x core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::getContextDefinition()

Overrides Context::getContextDefinition

2 calls to Context::getContextDefinition()
Context::getContextData in core/lib/Drupal/Core/Plugin/Context/Context.php
Gets the context value as typed data object.
Context::getContextValue in core/lib/Drupal/Core/Plugin/Context/Context.php
Gets the context value.

File

core/lib/Drupal/Core/Plugin/Context/Context.php, line 131

Class

Context
A Drupal specific context wrapper class.

Namespace

Drupal\Core\Plugin\Context

Code

public function getContextDefinition() {
    return $this->contextDefinition;
}

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