You are here

public function WebformContentCreatorInterface::createNode in Webform Content Creator 3.x

Same name and namespace in other branches
  1. 8 src/WebformContentCreatorInterface.php \Drupal\webform_content_creator\WebformContentCreatorInterface::createNode()

Create node from webform submission.

Parameters

\Drupal\webform\WebformSubmissionInterface $webform_submission: Webform submission.

Return value

int Result after saving content.

1 method overrides WebformContentCreatorInterface::createNode()
WebformContentCreatorEntity::createNode in src/Entity/WebformContentCreatorEntity.php
Create node from webform submission.

File

src/WebformContentCreatorInterface.php, line 194

Class

WebformContentCreatorInterface
Provides an interface defining an Webform content creator entity.

Namespace

Drupal\webform_content_creator

Code

public function createNode(WebformSubmissionInterface $webform_submission);