You are here

public function FormModeManagerInterface::getFormModeMachineName in Form mode manager 8.2

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

Retrieve Form Mode Machine Name from the form mode id.

Parameters

string $form_mode_id: Identifier of form mode prefixed by entity type id.

Return value

string The form mode machine name without prefixe of, entity (entity.form_mode_name).

1 method overrides FormModeManagerInterface::getFormModeMachineName()
FormModeManager::getFormModeMachineName in src/FormModeManager.php
Retrieve Form Mode Machine Name from the form mode id.

File

src/FormModeManagerInterface.php, line 190

Class

FormModeManagerInterface
Interface FormModeManagerInterface.

Namespace

Drupal\form_mode_manager

Code

public function getFormModeMachineName($form_mode_id);