public function LingotekProfileUsageInterface::isUsedByContent in Lingotek Translation 8.2
Same name and namespace in other branches
- 8 src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContent()
- 4.0.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContent()
- 3.0.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContent()
- 3.1.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContent()
- 3.2.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContent()
- 3.3.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContent()
- 3.4.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContent()
- 3.5.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContent()
- 3.6.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContent()
- 3.7.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContent()
- 3.8.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContent()
Check if a profile is used by content entities.
Parameters
\Drupal\lingotek\LingotekProfileInterface $profile: The profile being checked.
Return value
int Bitwise flag. Can include LingotekProfileUsageInterface::USED_BY_CONTENT or LingotekProfileUsageInterface::UNUSED.
1 method overrides LingotekProfileUsageInterface::isUsedByContent()
- LingotekProfileUsage::isUsedByContent in src/
LingotekProfileUsage.php - Check if a profile is used by content entities.
File
- src/
LingotekProfileUsageInterface.php, line 41
Class
- LingotekProfileUsageInterface
- Service contract for checking Lingotek profile usage.
Namespace
Drupal\lingotekCode
public function isUsedByContent(LingotekProfileInterface $profile);