You are here

public function ResourceFieldCollection::setResourceId in RESTful 7.2

Sets the resource ID.

Parameters

string $resource_id: The resource ID.

Overrides ResourceFieldCollectionInterface::setResourceId

File

src/Plugin/resource/Field/ResourceFieldCollection.php, line 270
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldCollection.

Class

ResourceFieldCollection

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function setResourceId($resource_id) {
  $this->resourceId = $resource_id;
}