You are here

public function ContentLoader::setExistenceCheck in YAML Content 8

Set the whether or not the system should check for previous demo content.

Parameters

bool $existence_check: The true/false value of existence check. Defaults to true if no value is provided.

Return value

$this

1 call to ContentLoader::setExistenceCheck()
ContentLoader::loadContent in src/ContentLoader/ContentLoader.php
Load all demo content for this loader.

File

src/ContentLoader/ContentLoader.php, line 246

Class

ContentLoader
ContentLoader class for parsing and importing YAML content.

Namespace

Drupal\yaml_content\ContentLoader

Code

public function setExistenceCheck($existence_check = TRUE) {
  $this->existenceCheck = $existence_check;
  return $this;
}