function DataTable::defaultDisplayOptions in Data 8
Assembles the default display options for the view.
Most wizards will need to override this method to provide some fields or a different row plugin.
Return value
array Returns an array of display options.
Overrides WizardPluginBase::defaultDisplayOptions
File
- src/
Plugin/ views/ wizard/ DataTable.php, line 19
Class
- DataTable
- Standard Views wizard plugin.
Namespace
Drupal\data\Plugin\views\wizardCode
function defaultDisplayOptions() {
$parent = parent::defaultDisplayOptions();
$parent['base_table'] = $this
->getDerivativeId();
return $parent;
}