EntityArgument::$deprecatedStorageProperties
Array of deprecated storage properties that legacy classes might access.
This class is replacing many separate plugins from different core modules, each of which had a storage property for their own entity type. We can't use Drupal\Core\DependencyInjection\DeprecatedServicePropertyTrait since these are not registered as services, but are the storage "sub-service" from the entityTypeManager for each entity type.
Type: deprecatedStorageProperties
File
-
core/
modules/ views/ src/ Plugin/ views/ argument/ EntityArgument.php, line 91
Class
- EntityArgument
- Argument handler to accept an entity ID value.
Namespace
Drupal\views\Plugin\views\argumentCode
protected array $deprecatedStorageProperties = [
'nodeStorage' => 'node',
'termStorage' => 'taxonomy_term',
'vocabularyStorage' => 'taxonomy_vocabulary',
'storage' => 'user',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.