Same filename in other branches
  1. 8.x-1.x src/Plugin/FieldState/Enabled.php

Namespace

Drupal\field_states_ui\Plugin\FieldState

Fichier

src/Plugin/FieldState/Enabled.php

View source
<?php

namespace Drupal\field_states_ui\Plugin\FieldState;

use Drupal\field_states_ui\FieldStateBase;

/**
 * Controls field widget enabled state in relation to other fields dynamically.
 *
 * @FieldState(
 *   id = "enabled",
 *   label = @Translation("Enable"),
 *   description = @Translation("Dynamically control field widget interaction dependent on other field states/values. This will enable the field if the condition(s) are met.")
 * )
 */
class Enabled extends FieldStateBase {

}

Classes

Titre Deprecated Résumé
Enabled Controls field widget enabled state in relation to other fields dynamically.