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

Namespace

Drupal\field_states_ui\Plugin\FieldState

Fichier

src/Plugin/FieldState/Required.php

View source
<?php

namespace Drupal\field_states_ui\Plugin\FieldState;

use Drupal\field_states_ui\FieldStateBase;

/**
 * Controls field widget required state in relation to other fields dynamically.
 *
 * @FieldState(
 *   id = "required",
 *   label = @Translation("Required"),
 *   description = @Translation("Dynamically make field required dependent on other field states/values.")
 * )
 */
class Required extends FieldStateBase {

}

Classes

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