protected function IcalFieldsWizard::getRenderer in Views iCal 8
Gets the renderer services.
Return value
\Drupal\Core\Render\RendererInterface|mixed
Overrides PluginBase::getRenderer
2 calls to IcalFieldsWizard::getRenderer()
- IcalFieldsWizard::createDefaultEvent in src/
Plugin/ views/ row/ IcalFieldsWizard.php - Creates an event with default data.
- IcalFieldsWizard::render in src/
Plugin/ views/ row/ IcalFieldsWizard.php - Render a row object. This usually passes through to a theme template of some form, but not always.
File
- src/
Plugin/ views/ row/ IcalFieldsWizard.php, line 617 - Contains \Drupal\views_ical\Plugin\views\row\Fields.
Class
- IcalFieldsWizard
- The 'Ical Fields' row plugin
Namespace
Drupal\views_ical\Plugin\views\rowCode
protected function getRenderer() {
if (!isset($this->renderer)) {
$this->renderer = \Drupal::service('renderer');
}
return $this->renderer;
}