You are here

public function FormModeManagerInterface::getFormModesByEntity in Form mode manager 8.2

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

Gets the entity form mode info for a specific entity type.

Parameters

string $entity_type_id: The entity type.

Return value

array An array contain all available form mode machine name.

1 method overrides FormModeManagerInterface::getFormModesByEntity()
FormModeManager::getFormModesByEntity in src/FormModeManager.php
Gets the entity form mode info for a specific entity type.

File

src/FormModeManagerInterface.php, line 66

Class

FormModeManagerInterface
Interface FormModeManagerInterface.

Namespace

Drupal\form_mode_manager

Code

public function getFormModesByEntity($entity_type_id);