You are here

public function WebformContentCreatorEntity::getSyncDeleteContentCheck in Webform Content Creator 3.x

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

Check if synchronization is used in deletion.

Return value

bool true, when the synchronization is used. Otherwise, returns false.

Overrides WebformContentCreatorInterface::getSyncDeleteContentCheck

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

File

src/Entity/WebformContentCreatorEntity.php, line 219

Class

WebformContentCreatorEntity
Defines the Webform Content creator entity.

Namespace

Drupal\webform_content_creator\Entity

Code

public function getSyncDeleteContentCheck() {
  return $this
    ->get(WebformContentCreatorInterface::SYNC_CONTENT_DELETE);
}