You are here

public function FormModeManagerInterface::getFormModesIdByEntity in Form mode manager 8.2

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

Gets all form modes id for a specific entity type.

Parameters

string $entity_type_id: The entity type id.

Return value

array An array contain all available form mode machine name.

1 method overrides FormModeManagerInterface::getFormModesIdByEntity()
FormModeManager::getFormModesIdByEntity in src/FormModeManager.php
Gets all form modes id for a specific entity type.

File

src/FormModeManagerInterface.php, line 55

Class

FormModeManagerInterface
Interface FormModeManagerInterface.

Namespace

Drupal\form_mode_manager

Code

public function getFormModesIdByEntity($entity_type_id);