You are here

public function RestfulEntityViewMode::__construct in RESTful 7

Constructor.

Parameters

string $entity_type: The entity type.

string $bundle: The bundle.

File

includes/RestfulEntityViewMode.php, line 41
Contains \RestfulEntityViewMode

Class

RestfulEntityViewMode
@file Contains \RestfulEntityViewMode

Code

public function __construct($entity_type, $bundle) {
  $this->entityType = $entity_type;
  $this->bundle = $bundle;
}