public function LingotekConfigurationServiceInterface::getPreference in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::getPreference()
- 4.0.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::getPreference()
- 3.0.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::getPreference()
- 3.1.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::getPreference()
- 3.2.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::getPreference()
- 3.3.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::getPreference()
- 3.4.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::getPreference()
- 3.5.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::getPreference()
- 3.6.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::getPreference()
- 3.7.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::getPreference()
- 3.8.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::getPreference()
Gets the value from the preferences configuration.
Parameters
string $preference_id: The preference ID.
Return value
mixed
1 method overrides LingotekConfigurationServiceInterface::getPreference()
- LingotekConfigurationService::getPreference in src/
LingotekConfigurationService.php - Gets the value from the preferences configuration.
File
- src/
LingotekConfigurationServiceInterface.php, line 267 - Contains \Drupal\lingotek\LingotekConfigurationServiceInterface
Class
- LingotekConfigurationServiceInterface
- Defines service for accessing the Lingotek configuration.
Namespace
Drupal\lingotekCode
public function getPreference($preference_id);