You are here

public function ResourceFieldEntity::setEntityType in RESTful 7.2

Parameters

string $entity_type:

Overrides ResourceFieldEntityInterface::setEntityType

1 call to ResourceFieldEntity::setEntityType()
ResourceFieldEntity::__construct in src/Plugin/resource/Field/ResourceFieldEntity.php
Constructor.

File

src/Plugin/resource/Field/ResourceFieldEntity.php, line 781
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldEntity

Class

ResourceFieldEntity
Class ResourceFieldEntity.

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function setEntityType($entity_type) {
  $this->entityType = $entity_type;
}