You are here

public function TestExample::render in Views (for Drupal 7) 8.3

Overrides Drupal\views\Plugin\views\area\AreaPluginBase::render().

Overrides AreaPluginBase::render

File

tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/area/TestExample.php, line 37
Definition of Drupal\views_test_data\Plugin\views\area\TestExample

Class

TestExample
Test area plugin.

Namespace

Drupal\views_test_data\Plugin\views\area

Code

public function render($empty = FALSE) {
  if (!$empty || !empty($this->options['empty'])) {
    return $this->options['string'];
  }
}