You are here

public function ShouldCreateJobEvent::setShouldCreateItem in Translation Management Tool 8

Sets whether or not the job item should be created.

Parameters

bool $should_create_item: TRUE if the job item should be created, FALSE if not.

File

src/Events/ShouldCreateJobEvent.php, line 128

Class

ShouldCreateJobEvent
Represents a job item about to be added to a continuous job.

Namespace

Drupal\tmgmt\Events

Code

public function setShouldCreateItem($should_create_item) {
  $this->shouldCreateItem = $should_create_item;
}