ContentModerationViewsHooks.php

Namespace

Drupal\content_moderation\Hook

File

core/modules/content_moderation/src/Hook/ContentModerationViewsHooks.php

View source
<?php

namespace Drupal\content_moderation\Hook;

use Drupal\Core\Hook\Attribute\Hook;

/**
 * Hook implementations for content_moderation.
 */
class ContentModerationViewsHooks {
    
    /**
     * Implements hook_views_data().
     */
    public function viewsData() : array {
        return _content_moderation_views_data_object()->getViewsData();
    }

}

Classes

Title Deprecated Summary
ContentModerationViewsHooks Hook implementations for content_moderation.

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