public function WebformNodeElementPreRender::getNid in Webform Node Element 8
Get the nid of the node to display.
Return value
int The nid of the node to display.
File
- src/
Event/ WebformNodeElementPreRender.php, line 45
Class
- WebformNodeElementPreRender
- Event dispatched prior to each webform_node_element being rendered.
Namespace
Drupal\webform_node_element\EventCode
public function getNid() {
return $this->nid;
}