public static function Views::viewsData in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Views.php \Drupal\views\Views::viewsData()
- 9 core/modules/views/src/Views.php \Drupal\views\Views::viewsData()
Returns the views data service.
Return value
\Drupal\views\ViewsData Returns a views data cache object.
28 calls to Views::viewsData()
- ConfigHandler::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandler.php - content_moderation_workflow_insert in core/
modules/ content_moderation/ content_moderation.module - Implements hook_ENTITY_TYPE_insert().
- content_moderation_workflow_update in core/
modules/ content_moderation/ content_moderation.module - Implements hook_ENTITY_TYPE_update().
- DefaultWizardDeriver::getDerivativeDefinitions in core/
modules/ views/ src/ Plugin/ Derivative/ DefaultWizardDeriver.php - EditDetails::submitForm in core/
modules/ views_ui/ src/ Form/ Ajax/ EditDetails.php
File
- core/
modules/ views/ src/ Views.php, line 57
Class
- Views
- Static service container wrapper for views.
Namespace
Drupal\viewsCode
public static function viewsData() {
return \Drupal::service('views.views_data');
}