public function WebformNodeElementPreRender::getDisplayMode in Webform Node Element 8
Get the display mode to use to render the node.
Return value
string The machine name of the display mode to use.
File
- src/
Event/ WebformNodeElementPreRender.php, line 65
Class
- WebformNodeElementPreRender
- Event dispatched prior to each webform_node_element being rendered.
Namespace
Drupal\webform_node_element\EventCode
public function getDisplayMode() {
return $this->displayMode;
}