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

Namespace

Drupal\field_states_ui\Plugin\FieldState

File

src/Plugin/FieldState/Disabled.php

View source
<?php

namespace Drupal\field_states_ui\Plugin\FieldState;

use Drupal\field_states_ui\FieldStateBase;

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

}

Classes

Title Deprecated Summary
Disabled Controls field widget disabled state in relation to other fields dynamically.