You are here

public function WebformContentCreatorEntity::getSyncContentField in Webform Content Creator 8

Same name and namespace in other branches
  1. 3.x src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::getSyncContentField()
  2. 2.x src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::getSyncContentField()

Get node field in which the webform submission id will be stored.

Return value

string Field machine name.

Overrides WebformContentCreatorInterface::getSyncContentField

1 call to WebformContentCreatorEntity::getSyncContentField()
WebformContentCreatorEntity::updateNode in src/Entity/WebformContentCreatorEntity.php
Update node from webform submission.

File

src/Entity/WebformContentCreatorEntity.php, line 230

Class

WebformContentCreatorEntity
Defines the Webform Content creator entity.

Namespace

Drupal\webform_content_creator\Entity

Code

public function getSyncContentField() {
  return $this
    ->get(WebformContentCreatorInterface::SYNC_CONTENT_FIELD);
}