You are here

public function ConfigurableResourceType::setInternal in JSON:API Extras 8.2

Setter for the $internal flag.

@todo Remove this when JSON API Extras drops support for JSON API 1.x.

Parameters

bool $is_internal: Indicates if the resource is not public.

File

src/ResourceType/ConfigurableResourceType.php, line 183

Class

ConfigurableResourceType
Defines a configurable resource type.

Namespace

Drupal\jsonapi_extras\ResourceType

Code

public function setInternal($is_internal) {
  $this->internal = $is_internal;
}