function ManageResolverRelationships::getAvailableRelationships

Same name in other branches
  1. 4.0.x src/Form/ManageResolverRelationships.php \Drupal\ctools\Form\ManageResolverRelationships::getAvailableRelationships()

Get the accesssible relationships.

Parameters

mixed $cached_values: The arbitrary value from temporary storage.

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

File

src/Form/ManageResolverRelationships.php, line 160

Class

ManageResolverRelationships
Provider manage resolver relationships.

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));
}