Gets the defined contexts.
array The set context objects.
\Drupal\Component\Plugin\Exception\ContextException If contexts are defined but not set.
public function getContexts();