public function access(AccountInterface $account) { if (!\Drupal::service('plugin.manager.tmgmt.translator') ->supportsFiles()) { return FALSE; } return parent::access($account); }