Same name in other branches
- 8.x-1.x src/Plugin/FieldState/Disabled.php \Drupal\field_states_ui\Plugin\FieldState\Disabled
Controls field widget disabled state in relation to other fields dynamically.
Plugin annotation
@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.")
)
Hierarchy
- class \Drupal\field_states_ui\FieldStateBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\field_states_ui\FieldStateInterface, \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- class \Drupal\field_states_ui\Plugin\FieldState\Disabled extends \Drupal\field_states_ui\FieldStateBase
Expanded class hierarchy of Disabled
File
-
src/
Plugin/ FieldState/ Disabled.php, line 16
Namespace
Drupal\field_states_ui\Plugin\FieldStateView source
class Disabled extends FieldStateBase {
}