You are here

public function WebformContentCreatorEntity::getSyncContentField in Webform Content Creator 2.x

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

Get content 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::updateContent in src/Entity/WebformContentCreatorEntity.php
Update content from webform submission.

File

src/Entity/WebformContentCreatorEntity.php, line 272

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);
}