public function LingotekConfigurationServiceInterface::isEnabled in Lingotek Translation 3.2.x
Same name and namespace in other branches
- 8 src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isEnabled()
- 8.2 src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isEnabled()
- 4.0.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isEnabled()
- 3.0.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isEnabled()
- 3.1.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isEnabled()
- 3.3.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isEnabled()
- 3.4.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isEnabled()
- 3.5.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isEnabled()
- 3.6.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isEnabled()
- 3.7.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isEnabled()
- 3.8.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isEnabled()
Determines whether the given entity type is Lingotek translatable.
@returns bool TRUE if the specified bundle is configured for Lingotek translation. If no bundle is provided returns TRUE if at least one of the entity bundles is translatable.
Parameters
string $entity_type_id: The type of the entity.
string $bundle: (optional) The bundle of the entity. If no bundle is provided, all the available bundles are checked.
1 method overrides LingotekConfigurationServiceInterface::isEnabled()
- LingotekConfigurationService::isEnabled in src/
LingotekConfigurationService.php - Determines whether the given entity type is Lingotek translatable.
File
- src/
LingotekConfigurationServiceInterface.php, line 36
Class
- LingotekConfigurationServiceInterface
- Defines service for accessing the Lingotek configuration.
Namespace
Drupal\lingotekCode
public function isEnabled($entity_type_id, $bundle = NULL);