public function FormModeManagerInterface::setLinkTemplatePerFormModes in Form mode manager 8.2
Same name and namespace in other branches
- 8 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 258
Class
- FormModeManagerInterface
- Interface FormModeManagerInterface.
Namespace
Drupal\form_mode_managerCode
public function setLinkTemplatePerFormModes(EntityTypeInterface $entity_definition, $form_mode_name);