ReusableBlockViewsData.php in Gutenberg 8
Same filename and directory in other branches
Namespace
Drupal\gutenbergFile
src/ReusableBlockViewsData.phpView source
<?php
namespace Drupal\gutenberg;
use Drupal\views\EntityViewsData;
/**
* Provides the views data for the entity.
*/
class ReusableBlockViewsData extends EntityViewsData {
/**
* {@inheritdoc}
*/
public function getViewsData() {
$data = parent::getViewsData();
// Go to the following url to get details.
// https://api.drupal.org/api/drupal/core!modules!views!views.api.php/function/hook_views_data/8.2.x
return $data;
}
}
Classes
Name | Description |
---|---|
ReusableBlockViewsData | Provides the views data for the entity. |