public function LocalTaskItem::isPending in Translation Management Tool 8
Returns TRUE if the local task is pending.
Return value
bool TRUE if the local task item is untranslated.
Overrides LocalTaskItemInterface::isPending
File
- translators/
tmgmt_local/ src/ Entity/ LocalTaskItem.php, line 148
Class
- LocalTaskItem
- Entity class for the local task item entity.
Namespace
Drupal\tmgmt_local\EntityCode
public function isPending() {
return $this
->get('status')->value == LocalTaskItemInterface::STATUS_PENDING;
}