You are here

public function ClientEntity::getDrupalEntity in Simple OAuth (OAuth2) & OpenID Connect 8.3

Same name and namespace in other branches
  1. 8.4 src/Entities/ClientEntity.php \Drupal\simple_oauth\Entities\ClientEntity::getDrupalEntity()
  2. 8.2 src/Entities/ClientEntity.php \Drupal\simple_oauth\Entities\ClientEntity::getDrupalEntity()
  3. 5.x src/Entities/ClientEntity.php \Drupal\simple_oauth\Entities\ClientEntity::getDrupalEntity()

Returns the associated Drupal entity.

Return value

\Drupal\consumers\Entity\Consumer The Drupal entity.

Overrides ClientEntityInterface::getDrupalEntity

File

src/Entities/ClientEntity.php, line 43

Class

ClientEntity

Namespace

Drupal\simple_oauth\Entities

Code

public function getDrupalEntity() {
  return $this->entity;
}