public function LocalTaskInterface::assign in Translation Management Tool 8
Assign translation task to passed user.
Parameters
\Drupal\Core\Session\AccountInterface $user: User object.
1 method overrides LocalTaskInterface::assign()
- LocalTask::assign in translators/
tmgmt_local/ src/ Entity/ LocalTask.php - Assign translation task to passed user.
File
- translators/
tmgmt_local/ src/ LocalTaskInterface.php, line 65
Class
- LocalTaskInterface
- Interface for tmgmt_local_task entity.
Namespace
Drupal\tmgmt_localCode
public function assign(AccountInterface $user);