You are here

public function FormModeManagerInterface::hasActiveFormMode in Form mode manager 8.2

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

Determine if current entity_type has one bundle implement this mode.

Parameters

string $entity_type: The entity type id.

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

Return value

bool True if tasks does display at primary position.

1 method overrides FormModeManagerInterface::hasActiveFormMode()
FormModeManager::hasActiveFormMode in src/FormModeManager.php
Determine if current entity_type has one bundle implement this mode.

File

src/FormModeManagerInterface.php, line 227

Class

FormModeManagerInterface
Interface FormModeManagerInterface.

Namespace

Drupal\form_mode_manager

Code

public function hasActiveFormMode($entity_type, $form_mode_id);