MachineName |
class |
Drupal\machine_name\Plugin\Field\FieldFormatter |
src/Plugin/Field/FieldFormatter/MachineName.php |
Plugin annotation
@FieldFormatter(
id = "machine_name",
label = @Translation("Machine name"),
field_types = {"machine_name"}
) |
|
|
|
MachineName |
class |
Drupal\machine_name\Plugin\Field\FieldWidget |
src/Plugin/Field/FieldWidget/MachineName.php |
Plugin annotation
@FieldWidget(
id = "machine_name",
label = @Translation("Machine name"),
field_types = {
"machine_name"
},
) |
|
|
|
MachineName |
class |
Drupal\machine_name\Plugin\Field\FieldType |
src/Plugin/Field/FieldType/MachineName.php |
Plugin implementation of the 'machine_name' field type. |
|
|
|
MachineNameItemTest |
class |
Drupal\Tests\machine_name\Kernel |
tests/src/Kernel/MachineNameItemTest.php |
Tests the new entity API for the machine_name field type. |
|
|
|
MachineNameUniqueConstraint |
class |
Drupal\machine_name\Plugin\Validation\Constraint |
src/Plugin/Validation/Constraint/MachineNameUniqueConstraint.php |
Checks if an entity field has a unique value. |
|
|
|
MachineNameUniqueValidator |
class |
Drupal\machine_name\Plugin\Validation\Constraint |
src/Plugin/Validation/Constraint/MachineNameUniqueValidator.php |
Validates that a field is unique for the given entity type. |
|
|
|