Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityResource.php

function EntityResource::isConfigEntityResource

Checks if this resource is for a Config Entity.

Return value

bool TRUE if the entity is a Config Entity, FALSE otherwise.

1 call to EntityResource::isConfigEntityResource()
EntityResource::availableMethods in core/modules/rest/src/Plugin/rest/resource/EntityResource.php
Returns the available HTTP request methods on this plugin.

File

core/modules/rest/src/Plugin/rest/resource/EntityResource.php, line 420

Class

EntityResource
Represents entities as resources.

Namespace

Drupal\rest\Plugin\rest\resource

Code

protected function isConfigEntityResource() {
    return $this->entityType instanceof ConfigEntityType;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal