You are here

public function JobItemInterface::isState in Translation Management Tool 8

Checks whether the passed value matches the current state.

Parameters

string $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 JobItemInterface::isState()
JobItem::isState in src/Entity/JobItem.php
Checks whether the passed value matches the current state.

File

src/JobItemInterface.php, line 332

Class

JobItemInterface
Interface for tmgmt_job_item entity.

Namespace

Drupal\tmgmt

Code

public function isState($state);