public function TestExample::render

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

Overrides AreaPluginBase::render

File

drupal/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/area/TestExample.php, line 45
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
      ->globalTokenReplace($this->options['string']);
  }
}