function Custom::render
Overrides FieldPluginBase::render
File
- 
              core/modules/ views/ src/ Plugin/ views/ field/ Custom.php, line 70 
Class
- Custom
- A handler to provide a field that is completely custom by the administrator.
Namespace
Drupal\views\Plugin\views\fieldCode
public function render(ResultRow $values) {
  // Return the text, so the code never thinks the value is empty.
  return ViewsRenderPipelineMarkup::create(Xss::filterAdmin($this->options['alter']['text']));
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
