You are here

protected function LingotekContentModerationSettingsForm::getContentModerationConfigurationLink in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 8.2 src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getContentModerationConfigurationLink()
  2. 4.0.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getContentModerationConfigurationLink()
  3. 3.0.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getContentModerationConfigurationLink()
  4. 3.1.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getContentModerationConfigurationLink()
  5. 3.2.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getContentModerationConfigurationLink()
  6. 3.3.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getContentModerationConfigurationLink()
  7. 3.5.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getContentModerationConfigurationLink()
  8. 3.6.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getContentModerationConfigurationLink()
  9. 3.7.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getContentModerationConfigurationLink()
  10. 3.8.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getContentModerationConfigurationLink()

Get configure link for content moderation.

Parameters

string $bundle: The bundle id.

string $bundle_type_id: The bundle type id.

Return value

\Drupal\Core\GeneratedUrl|string An url.

Deprecated

in lingotek:3.0.0 and is removed from lingotek:4.0.0. Use $this->urlGenerator->generateFromRoute("entity.workflow.collection") instead.

See also

\Drupal\workflows\Entity\Workflow

File

src/Moderation/LingotekContentModerationSettingsForm.php, line 312

Class

LingotekContentModerationSettingsForm
Moderation settings form for the Lingotek content_moderation integration.

Namespace

Drupal\lingotek\Moderation

Code

protected function getContentModerationConfigurationLink($bundle, $bundle_type_id) {
  return $this->urlGenerator
    ->generateFromRoute("entity.workflow.collection");
}