function FieldHooks::__construct

Same name and namespace in other branches
  1. 11.x core/modules/field/src/Hook/FieldHooks.php \Drupal\field\Hook\FieldHooks::__construct()

File

core/modules/field/src/Hook/FieldHooks.php, line 31

Class

FieldHooks
Hook implementations for field.

Namespace

Drupal\field\Hook

Code

public function __construct(#[Autowire(service: 'cache.memory')] protected readonly CacheBackendInterface $memoryCache) {
}

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