function FieldItemTestClass::propertyDefinitions

Same name in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php \Drupal\Tests\Core\Field\FieldItemTestClass::propertyDefinitions()

Overrides FieldItemInterface::propertyDefinitions

File

core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php, line 368

Class

FieldItemTestClass
A class extending FieldItemBase for testing purposes.

Namespace

Drupal\Tests\Core\Field

Code

public static function propertyDefinitions(FieldStorageDefinitionInterface $field_definition) : array {
    return [];
}

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