function RowPluginBase::defineOptions
Overrides PluginBase::defineOptions
14 calls to RowPluginBase::defineOptions()
- DataFieldRow::defineOptions in core/
modules/ rest/ src/ Plugin/ views/ row/ DataFieldRow.php - Information about options for all kinds of purposes will be held here.
- DataFieldRow::defineOptions in core/
modules/ rest/ src/ Plugin/ views/ row/ DataFieldRow.php - Information about options for all kinds of purposes will be held here.
- EntityRow::defineOptions in core/
modules/ views/ src/ Plugin/ views/ row/ EntityRow.php - Information about options for all kinds of purposes will be held here.
- EntityRow::defineOptions in core/
modules/ views/ src/ Plugin/ views/ row/ EntityRow.php - Information about options for all kinds of purposes will be held here.
- Fields::defineOptions in core/
modules/ views/ src/ Plugin/ views/ row/ Fields.php - Information about options for all kinds of purposes will be held here.
7 methods override RowPluginBase::defineOptions()
- DataFieldRow::defineOptions in core/
modules/ rest/ src/ Plugin/ views/ row/ DataFieldRow.php - Information about options for all kinds of purposes will be held here.
- EntityRow::defineOptions in core/
modules/ views/ src/ Plugin/ views/ row/ EntityRow.php - Information about options for all kinds of purposes will be held here.
- Fields::defineOptions in core/
modules/ views/ src/ Plugin/ views/ row/ Fields.php - Information about options for all kinds of purposes will be held here.
- OpmlFields::defineOptions in core/
modules/ views/ src/ Plugin/ views/ row/ OpmlFields.php - Information about options for all kinds of purposes will be held here.
- RssFields::defineOptions in core/
modules/ views/ src/ Plugin/ views/ row/ RssFields.php - Information about options for all kinds of purposes will be held here.
File
-
core/
modules/ views/ src/ Plugin/ views/ row/ RowPluginBase.php, line 76
Class
- RowPluginBase
- Base class for Views row plugins.
Namespace
Drupal\views\Plugin\views\rowCode
protected function defineOptions() {
$options = parent::defineOptions();
if (isset($this->base_table)) {
$options['relationship'] = [
'default' => 'none',
];
}
return $options;
}