public function LingotekModerationFactory::addModerationForm in Lingotek Translation 3.0.x
Same name and namespace in other branches
- 8.2 src/Moderation/LingotekModerationFactory.php \Drupal\lingotek\Moderation\LingotekModerationFactory::addModerationForm()
- 4.0.x src/Moderation/LingotekModerationFactory.php \Drupal\lingotek\Moderation\LingotekModerationFactory::addModerationForm()
- 3.1.x src/Moderation/LingotekModerationFactory.php \Drupal\lingotek\Moderation\LingotekModerationFactory::addModerationForm()
- 3.2.x src/Moderation/LingotekModerationFactory.php \Drupal\lingotek\Moderation\LingotekModerationFactory::addModerationForm()
- 3.3.x src/Moderation/LingotekModerationFactory.php \Drupal\lingotek\Moderation\LingotekModerationFactory::addModerationForm()
- 3.4.x src/Moderation/LingotekModerationFactory.php \Drupal\lingotek\Moderation\LingotekModerationFactory::addModerationForm()
- 3.5.x src/Moderation/LingotekModerationFactory.php \Drupal\lingotek\Moderation\LingotekModerationFactory::addModerationForm()
- 3.6.x src/Moderation/LingotekModerationFactory.php \Drupal\lingotek\Moderation\LingotekModerationFactory::addModerationForm()
- 3.7.x src/Moderation/LingotekModerationFactory.php \Drupal\lingotek\Moderation\LingotekModerationFactory::addModerationForm()
- 3.8.x src/Moderation/LingotekModerationFactory.php \Drupal\lingotek\Moderation\LingotekModerationFactory::addModerationForm()
Called when the tag collector finds a moderation settings form service.
Parameters
\Drupal\lingotek\Moderation\LingotekModerationSettingsFormInterface $service: The moderation configuration service.
string $id: The id of the tagged service.
int $priority: The priority for the tagged service.
Overrides LingotekModerationFactoryInterface::addModerationForm
File
- src/
Moderation/ LingotekModerationFactory.php, line 53
Class
- LingotekModerationFactory
- A facade for getting the services that are part of moderation integrations.
Namespace
Drupal\lingotek\ModerationCode
public function addModerationForm(LingotekModerationSettingsFormInterface $service, $id, $priority) {
$this->forms[$priority] = $service;
krsort($this->forms);
}