You are here

public function FormModeManagerInterface::getActiveDisplaysByBundle in Form mode manager 8.2

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

Gets the entity form mode info for a specific bundle.

Parameters

string $entity_type_id: The entity type id.

string $bundle_id: Identifier of bundle.

Return value

array|null The form mode activated for defined bundle.

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

File

src/FormModeManagerInterface.php, line 163

Class

FormModeManagerInterface
Interface FormModeManagerInterface.

Namespace

Drupal\form_mode_manager

Code

public function getActiveDisplaysByBundle($entity_type_id, $bundle_id);