function ViewsConfigUpdater::processRenderedEntityFieldHandler
Processes rendered_entity type fields.
Parameters
array $handler: A display handler.
string $handler_type: The handler type.
Return value
bool Whether the handler was updated.
1 call to ViewsConfigUpdater::processRenderedEntityFieldHandler()
- ViewsConfigUpdater::needsRenderedEntityFieldUpdate in core/
modules/ views/ src/ ViewsConfigUpdater.php - Checks for entity view display cache tags from rendered entity fields.
File
-
core/
modules/ views/ src/ ViewsConfigUpdater.php, line 686
Class
- ViewsConfigUpdater
- Provides a BC layer for modules providing old configurations.
Namespace
Drupal\viewsCode
protected function processRenderedEntityFieldHandler(array &$handler, string $handler_type) : bool {
// Force view re-save if using rendered entity field.
$plugin_id = $handler['plugin_id'] ?? '';
return $handler_type === 'field' && $plugin_id === 'rendered_entity';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.