protected function LingotekProfile::isProtected in Lingotek Translation 7.7
1 call to LingotekProfile::isProtected()
- LingotekProfile::delete in lib/
Drupal/ lingotek/ LingotekProfile.php
File
- lib/
Drupal/ lingotek/ LingotekProfile.php, line 595 - Defines LingotekProfile
Class
- LingotekProfile
- A class wrapper for Lingotek Profiles
Code
protected function isProtected() {
$locked_profiles = array(
LingotekSync::PROFILE_DISABLED,
LingotekSync::PROFILE_AUTOMATIC,
LingotekSync::PROFILE_MANUAL,
);
if (in_array($this
->getId(), $locked_profiles)) {
return TRUE;
}
return FALSE;
}