Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293174

Add the FieldStorageDefinition class to define field storage definitions in hook_entity_field_storage_info()

$
0
0

Problem/Motivation

We should add a dedicated field storage definition class which allows modules to define field storage definitions in hook_entity_field_storage_info() without having a config-field easily.

Proposed resolution

Add a FieldStorageDefinition class that implements FieldStorageDefinitionInterface.

Remaining tasks

Patch.

User interface changes

None.

API changes

Additional builder class for storage definitions.

Data model changes

None.

Out of scope

Any changes to BaseFieldDefinition, @see #3014760: [PP-1] Create an abstract composite field definition/storage definition and update BaseFieldDefinition to use it.


Viewing all articles
Browse latest Browse all 293174

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>