Issue #2191709 by andypost, swentel, yched: [Followup] Remove the configurable flag on field types.
parent
7d30ec068a
commit
186981020c
|
@ -14,7 +14,7 @@ namespace Drupal\Core\Field\Plugin\Field\FieldType;
|
|||
* id = "changed",
|
||||
* label = @Translation("Last changed"),
|
||||
* description = @Translation("An entity field containing a UNIX timestamp of when the entity has been last updated."),
|
||||
* configurable = FALSE,
|
||||
* no_ui = TRUE,
|
||||
* constraints = {
|
||||
* "ComplexData" = {"value" = {"EntityChanged" = {}}}
|
||||
* }
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace Drupal\Core\Field\Plugin\Field\FieldType;
|
|||
* id = "created",
|
||||
* label = @Translation("Created"),
|
||||
* description = @Translation("An entity field containing a UNIX timestamp of when the entity has been created."),
|
||||
* configurable = FALSE
|
||||
* no_ui = TRUE
|
||||
* )
|
||||
*/
|
||||
class CreatedItem extends TimestampItem {
|
||||
|
|
|
@ -16,7 +16,7 @@ use Drupal\Core\Field\FieldDefinitionInterface;
|
|||
* id = "string_long",
|
||||
* label = @Translation("Long string"),
|
||||
* description = @Translation("An entity field containing a long string value."),
|
||||
* no_ui = FALSE
|
||||
* no_ui = TRUE
|
||||
* )
|
||||
*/
|
||||
class StringLongItem extends StringItem {
|
||||
|
|
|
@ -18,7 +18,7 @@ use Drupal\Core\TypedData\DataDefinition;
|
|||
* id = "timestamp",
|
||||
* label = @Translation("Timestamp"),
|
||||
* description = @Translation("An entity field containing a UNIX timestamp value."),
|
||||
* configurable = FALSE
|
||||
* no_ui = TRUE
|
||||
* )
|
||||
*/
|
||||
class TimestampItem extends FieldItemBase {
|
||||
|
|
Loading…
Reference in New Issue