You are here

private function EntityRoutingMapBase::doGenerateContextualLinks in Form mode manager 8.2

Evaluate if current pluginDefinition contextualLink is applicable.

Return value

bool True if we can generate the plugin definition or False if not.

1 call to EntityRoutingMapBase::doGenerateContextualLinks()
EntityRoutingMapBase::setContextualLinks in src/EntityRoutingMapBase.php
Return contextual links route mapping.

File

src/EntityRoutingMapBase.php, line 241

Class

EntityRoutingMapBase
Base class for form mode manager entity routing plugin.

Namespace

Drupal\form_mode_manager

Code

private function doGenerateContextualLinks() {
  return is_array($this->pluginDefinition['contextualLinks']) && !isset($this->pluginDefinition['contextualLinks']['edit']);
}