Commit b5880ee8 authored by catch's avatar catch

Issue #2940051 by Mohit Malik, kiamlaluno: Fix the punctuation in the comment...

Issue #2940051 by Mohit Malik, kiamlaluno: Fix the punctuation in the comment describing what ContentEntityBase::isTranslatable() does
parent 10272b9a
......@@ -420,8 +420,8 @@ public function getRevisionId() {
* {@inheritdoc}
*/
public function isTranslatable() {
// Check that the bundle is translatable, the entity has a language defined
// and if we have more than one language on the site.
// Check the bundle is translatable, the entity has a language defined, and
// the site has more than one language.
$bundles = $this->entityManager()->getBundleInfo($this->entityTypeId);
return !empty($bundles[$this->bundle()]['translatable']) && !$this->getUntranslated()->language()->isLocked() && $this->languageManager()->isMultilingual();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment