function WorkspacesEntityRepository::getCanonical

Overrides EntityRepositoryInterface::getCanonical

File

core/modules/workspaces/src/WorkspacesEntityRepository.php, line 66

Class

WorkspacesEntityRepository
Provides workspace-specific mechanisms for retrieving entities.

Namespace

Drupal\workspaces

Code

public function getCanonical($entity_type_id, $entity_id, ?array $contexts = NULL) {
    return $this->inner
        ->getCanonical($entity_type_id, $entity_id, $contexts);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.