abstract class BaseViewsEvent in Hook Event Dispatcher 8
Class BaseViewsEvent.
Hierarchy
- class \Drupal\hook_event_dispatcher\Event\Views\BaseViewsEvent extends \Symfony\Component\EventDispatcher\Event implements EventInterface
Expanded class hierarchy of BaseViewsEvent
File
- src/
Event/ Views/ BaseViewsEvent.php, line 12
Namespace
Drupal\hook_event_dispatcher\Event\ViewsView source
abstract class BaseViewsEvent extends Event implements EventInterface {
/**
* The view.
*
* @var \Drupal\views\ViewExecutable
*/
private $view;
/**
* ViewsPreExecuteEevent constructor.
*
* @param \Drupal\views\ViewExecutable $view
* The view.
*/
public function __construct(ViewExecutable $view) {
$this->view = $view;
}
/**
* Get the view.
*
* @return \Drupal\views\ViewExecutable
* The view.
*/
public function getView() {
return $this->view;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseViewsEvent:: |
private | property | The view. | |
BaseViewsEvent:: |
public | function | Get the view. | |
BaseViewsEvent:: |
public | function | ViewsPreExecuteEevent constructor. | 3 |
EventInterface:: |
public | function | Get the dispatcher type. | 66 |