You are here

public function EdgeEntityBase::hasTranslation in Apigee Edge 8

File

src/Entity/EdgeEntityBase.php, line 178

Class

EdgeEntityBase
Base class for Apigee Edge entities in Drupal.

Namespace

Drupal\apigee_edge\Entity

Code

public function hasTranslation($langcode) {
  return $langcode == $this
    ->language()
    ->getId();
}