public function LingotekConfigurationServiceInterface::setConfigEntityProfile in Lingotek Translation 8.2
Same name and namespace in other branches
- 4.0.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setConfigEntityProfile()
- 3.0.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setConfigEntityProfile()
- 3.1.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setConfigEntityProfile()
- 3.2.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setConfigEntityProfile()
- 3.3.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setConfigEntityProfile()
- 3.4.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setConfigEntityProfile()
- 3.5.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setConfigEntityProfile()
- 3.6.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setConfigEntityProfile()
- 3.7.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setConfigEntityProfile()
- 3.8.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setConfigEntityProfile()
Sets the default Lingotek profile for the given config entity.
Parameters
\Drupal\Core\Config\Entity\ConfigEntityInterface $entity: The entity.
string $profile_id: The profile id.
bool $save: Indicates if we should save the entity after setting the value.
1 method overrides LingotekConfigurationServiceInterface::setConfigEntityProfile()
- LingotekConfigurationService::setConfigEntityProfile in src/
LingotekConfigurationService.php - Sets the default Lingotek profile for the given config entity.
File
- src/
LingotekConfigurationServiceInterface.php, line 141
Class
- LingotekConfigurationServiceInterface
- Defines service for accessing the Lingotek configuration.
Namespace
Drupal\lingotekCode
public function setConfigEntityProfile(ConfigEntityInterface &$entity, $profile_id, $save = TRUE);