public function MachineName::preRender in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/field/MachineName.php \Drupal\views\Plugin\views\field\MachineName::preRender()
Runs before any fields are rendered.
This gives the handlers some time to set up before any handler has been rendered.
Parameters
\Drupal\views\ResultRow[] $values: An array of all ResultRow objects returned from the query.
Overrides FieldPluginBase::preRender
File
- core/
modules/ views/ src/ Plugin/ views/ field/ MachineName.php, line 75 - Contains \Drupal\views\Plugin\views\field\MachineName.
Class
- MachineName
- Field handler which allows to show machine name content as human name.
Namespace
Drupal\views\Plugin\views\fieldCode
public function preRender(&$values) {
$this
->getValueOptions();
}