You are here

public function JobInterface::isState in Translation Management Tool 8

Checks whether the passed value matches the current state.

Parameters

int $state: The value to check the current state against.

Return value

bool TRUE if the passed state matches the current state, FALSE otherwise.

1 method overrides JobInterface::isState()
Job::isState in src/Entity/Job.php
Checks whether the passed value matches the current state.

File

src/JobInterface.php, line 374

Class

JobInterface
Interface for tmgmt_job entity.

Namespace

Drupal\tmgmt

Code

public function isState($state);