You are here

public function FormModeManagerInterface::isActive in Form mode manager 8

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

Determine if a form mode is activated onto bundle of specific entity.

Parameters

string $entity_type_id: The entity type id.

string $bundle_id: Name of bundle for current entity.

string $form_mode_machine_name: Machine name of form mode.

Return value

bool True if FormMode is activated on needed bundle.

1 method overrides FormModeManagerInterface::isActive()
FormModeManager::isActive in src/FormModeManager.php
Determine if a form mode is activated onto bundle of specific entity.

File

src/FormModeManagerInterface.php, line 145

Class

FormModeManagerInterface
Interface FormModeManagerInterface.

Namespace

Drupal\form_mode_manager

Code

public function isActive($entity_type_id, $bundle_id, $form_mode_machine_name);