You are here

public function Job::getContinuousSettings in Translation Management Tool 8

Returns continuous settings.

Return value

array Continuous settings.

Overrides JobInterface::getContinuousSettings

File

src/Entity/Job.php, line 243

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getContinuousSettings() {
  return $this
    ->get('continuous_settings')[0] ? $this
    ->get('continuous_settings')[0]
    ->getValue() : array();
}