You are here

public function FormModeManagerInterface::setLinkTemplatePerFormModes in Form mode manager 8

Same name and namespace in other branches
  1. 8.2 src/FormModeManagerInterface.php \Drupal\form_mode_manager\FormModeManagerInterface::setLinkTemplatePerFormModes()

Set new LinkTemplate handler on entity definition basis.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_definition: The entity type to alter.

string $form_mode_name: The form mode human name used by current entity definition.

1 method overrides FormModeManagerInterface::setLinkTemplatePerFormModes()
FormModeManager::setLinkTemplatePerFormModes in src/FormModeManager.php
Set new LinkTemplate handler on entity definition basis.

File

src/FormModeManagerInterface.php, line 225

Class

FormModeManagerInterface
Interface FormModeManagerInterface.

Namespace

Drupal\form_mode_manager

Code

public function setLinkTemplatePerFormModes(EntityTypeInterface $entity_definition, $form_mode_name);