_content_moderation_views_data_object()
Creates a ViewsData object to respond to views hooks.
Return value
\Drupal\content_moderation\ViewsData The content moderation ViewsData object.
File
- core/modules/content_moderation/content_moderation.views.inc, line 32
- Provide views data for content_moderation.module.
Code
function _content_moderation_views_data_object() { return new ViewsData( \Drupal::service('entity_type.manager'), \Drupal::service('content_moderation.moderation_information') ); }
Please login to continue.