<?php
namespace Drupal\cfp_payment_request\Entity;
use Drupal\views\EntityViewsData;
/**
* Provides Views data for Payment request entities.
*/
class PaymentRequestViewsData extends EntityViewsData {
/**
* {@inheritdoc}
*/
public function getViewsData() {
$data = parent::getViewsData();
$data['cfp_payment_request']['correction_deadline']['filter']['id'] = 'pr_correction_deadline';
return $data;
}
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter