public function FormModeManager::getListCacheTags in Form mode manager 8.2
Same name and namespace in other branches
- 8 src/FormModeManager.php \Drupal\form_mode_manager\FormModeManager::getListCacheTags()
The list cache tags associated with form display entities.
Enables code listing entities of this type to ensure that newly created entities show up immediately. This is wrapped by Form Mode Manager to, permit a more precise cache strategy and allow Form Mode Manager to, add her permissions tags.
Return value
string[] List of cache Tags to invalidate.
Overrides FormModeManagerInterface::getListCacheTags
File
- src/
FormModeManager.php, line 262
Class
- FormModeManager
- FormDisplayManager service.
Namespace
Drupal\form_mode_managerCode
public function getListCacheTags() {
return $this->entityTypeManager
->getDefinition('entity_form_display')
->getListCacheTags();
}