interface LingotekModerationFactoryInterface in Lingotek Translation 8.2
Same name and namespace in other branches
- 4.0.x src/Moderation/LingotekModerationFactoryInterface.php \Drupal\lingotek\Moderation\LingotekModerationFactoryInterface
- 3.0.x src/Moderation/LingotekModerationFactoryInterface.php \Drupal\lingotek\Moderation\LingotekModerationFactoryInterface
- 3.1.x src/Moderation/LingotekModerationFactoryInterface.php \Drupal\lingotek\Moderation\LingotekModerationFactoryInterface
- 3.2.x src/Moderation/LingotekModerationFactoryInterface.php \Drupal\lingotek\Moderation\LingotekModerationFactoryInterface
- 3.3.x src/Moderation/LingotekModerationFactoryInterface.php \Drupal\lingotek\Moderation\LingotekModerationFactoryInterface
- 3.4.x src/Moderation/LingotekModerationFactoryInterface.php \Drupal\lingotek\Moderation\LingotekModerationFactoryInterface
- 3.5.x src/Moderation/LingotekModerationFactoryInterface.php \Drupal\lingotek\Moderation\LingotekModerationFactoryInterface
- 3.6.x src/Moderation/LingotekModerationFactoryInterface.php \Drupal\lingotek\Moderation\LingotekModerationFactoryInterface
- 3.7.x src/Moderation/LingotekModerationFactoryInterface.php \Drupal\lingotek\Moderation\LingotekModerationFactoryInterface
- 3.8.x src/Moderation/LingotekModerationFactoryInterface.php \Drupal\lingotek\Moderation\LingotekModerationFactoryInterface
A facade for getting the services that are part of moderation integrations.
@package Drupal\lingotek\Moderation
Hierarchy
- interface \Drupal\lingotek\Moderation\LingotekModerationFactoryInterface
Expanded class hierarchy of LingotekModerationFactoryInterface
All classes that implement LingotekModerationFactoryInterface
File
- src/
Moderation/ LingotekModerationFactoryInterface.php, line 10
Namespace
Drupal\lingotek\ModerationView source
interface LingotekModerationFactoryInterface {
/**
* Called when the tag collector finds a moderation configuration service.
*
* @param \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface $service
* The moderation configuration service.
* @param string $id
* The id of the tagged service.
* @param int $priority
* The priority for the tagged service.
*/
public function addModerationConfiguration(LingotekModerationConfigurationServiceInterface $service, $id, $priority);
/**
* Called when the tag collector finds a moderation settings form service.
*
* @param \Drupal\lingotek\Moderation\LingotekModerationSettingsFormInterface $service
* The moderation configuration service.
* @param string $id
* The id of the tagged service.
* @param int $priority
* The priority for the tagged service.
*/
public function addModerationForm(LingotekModerationSettingsFormInterface $service, $id, $priority);
/**
* Called when the tag collector finds a moderation handler service.
*
* @param \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface $service
* The moderation configuration service.
* @param string $id
* The id of the tagged service.
* @param int $priority
* The priority for the tagged service.
*/
public function addModerationHandler(LingotekModerationHandlerInterface $service, $id, $priority);
/**
* Gets the first moderation configuration service applying to a given entity.
*
* @return \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
* The moderation configuration service.
*/
public function getModerationConfigurationService();
/**
* Gets the first moderation settings form service applying to a given entity.
*
* @return \Drupal\lingotek\Moderation\LingotekModerationSettingsFormInterface
* The moderation settings form service.
*/
public function getModerationSettingsForm();
/**
* Gets the first moderation handler service that applies to the given entity.
*
* @return \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface
* The moderation handler service.
*/
public function getModerationHandler();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LingotekModerationFactoryInterface:: |
public | function | Called when the tag collector finds a moderation configuration service. | 1 |
LingotekModerationFactoryInterface:: |
public | function | Called when the tag collector finds a moderation settings form service. | 1 |
LingotekModerationFactoryInterface:: |
public | function | Called when the tag collector finds a moderation handler service. | 1 |
LingotekModerationFactoryInterface:: |
public | function | Gets the first moderation configuration service applying to a given entity. | 1 |
LingotekModerationFactoryInterface:: |
public | function | Gets the first moderation handler service that applies to the given entity. | 1 |
LingotekModerationFactoryInterface:: |
public | function | Gets the first moderation settings form service applying to a given entity. | 1 |