ViewTableEventVariables.php in Hook Event Dispatcher 8.2
Same filename and directory in other branches
File
modules/preprocess_event_dispatcher/src/Variables/ViewTableEventVariables.phpView source
<?php
namespace Drupal\preprocess_event_dispatcher\Variables;
use Drupal\views\ResultRow;
use Drupal\views\ViewExecutable;
/**
* Class ViewTableEventVariables.
*/
class ViewTableEventVariables extends AbstractEventVariables {
/**
* Get the row.
*
* @return \Drupal\views\ResultRow
* Row.
*/
public function getRows() : ResultRow {
return $this->variables['rows'];
}
/**
* Get the view.
*
* @return \Drupal\views\ViewExecutable
* View.
*/
public function getView() : ViewExecutable {
return $this->variables['view'];
}
}
Classes
Name | Description |
---|---|
ViewTableEventVariables | Class ViewTableEventVariables. |