public function ConditionPluginBase::getFormID

Implements \Drupal\Core\Form\FormInterface::getFormID().

Overrides FormInterface::getFormID

File

drupal/core/lib/Drupal/Core/Condition/ConditionPluginBase.php, line 20
Contains \Drupal\Core\Condition\ConditionPluginBase.

Class

ConditionPluginBase
Provides a basis for fulfilling contexts for condition plugins.

Namespace

Drupal\Core\Condition

Code

public function getFormID() {
  $definition = $this
    ->getPluginDefinition();
  return implode('_', array(
    $definition['module'],
    $definition['id'],
    'condition',
  ));
}