You are here

public function LingotekProfileUsageInterface::isUsedByConfig in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 8 src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByConfig()
  2. 8.2 src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByConfig()
  3. 4.0.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByConfig()
  4. 3.0.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByConfig()
  5. 3.1.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByConfig()
  6. 3.2.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByConfig()
  7. 3.3.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByConfig()
  8. 3.4.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByConfig()
  9. 3.5.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByConfig()
  10. 3.7.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByConfig()
  11. 3.8.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByConfig()

Check if a profile is configured to be used by config entities.

Parameters

\Drupal\lingotek\LingotekProfileInterface $profile: The profile being checked.

Return value

int Bitwise flag. Can include LingotekProfileUsageInterface::USED_BY_CONFIG or LingotekProfileUsageInterface::UNUSED.

1 method overrides LingotekProfileUsageInterface::isUsedByConfig()
LingotekProfileUsage::isUsedByConfig in src/LingotekProfileUsage.php
Check if a profile is configured to be used by config entities.

File

src/LingotekProfileUsageInterface.php, line 54

Class

LingotekProfileUsageInterface
Service contract for checking Lingotek profile usage.

Namespace

Drupal\lingotek

Code

public function isUsedByConfig(LingotekProfileInterface $profile);