You are here

protected function ManageContext::getAvailableRelationships in Chaos Tool Suite (ctools) 8.3

1 call to ManageContext::getAvailableRelationships()
ManageContext::buildForm in src/Form/ManageContext.php
Form constructor.

File

src/Form/ManageContext.php, line 213

Class

ManageContext

Namespace

Drupal\ctools\Form

Code

protected function getAvailableRelationships($cached_values) {

  /** @var \Drupal\ctools\TypedDataResolver $resolver */
  $resolver = $this->typedDataResolver;
  return $resolver
    ->getTokensForContexts($this
    ->getContexts($cached_values));
}