HiddenTestItem.php

Same filename in other branches
  1. 8.9.x core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/HiddenTestItem.php
  2. 10 core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/HiddenTestItem.php
  3. 11.x core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/HiddenTestItem.php

Namespace

Drupal\field_test\Plugin\Field\FieldType

File

core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/HiddenTestItem.php

View source
<?php

namespace Drupal\field_test\Plugin\Field\FieldType;


/**
 * Defines the 'hidden_test' entity field item.
 *
 * @FieldType(
 *   id = "hidden_test_field",
 *   label = @Translation("Hidden from UI test field"),
 *   description = @Translation("Dummy hidden field type used for tests."),
 *   no_ui = TRUE,
 *   default_widget = "test_field_widget",
 *   default_formatter = "field_test_default"
 * )
 */
class HiddenTestItem extends TestItem {

}

Classes

Title Deprecated Summary
HiddenTestItem Defines the 'hidden_test' entity field item.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.