You are here

public function ResourceInterface::getVersion in RESTful 7.2

Return array keyed with the major and minor version of the resource.

Return value

array Keyed array with the major and minor version as provided in the plugin definition.

2 methods override ResourceInterface::getVersion()
Resource::getVersion in src/Plugin/resource/Resource.php
Return array keyed with the major and minor version of the resource.
ResourceDecoratorBase::getVersion in src/Plugin/resource/Decorators/ResourceDecoratorBase.php
Return array keyed with the major and minor version of the resource.

File

src/Plugin/resource/ResourceInterface.php, line 271
Contains \Drupal\restful\Plugin\resource\ResourceInterface.

Class

ResourceInterface
Interface ResourceInterface.

Namespace

Drupal\restful\Plugin\resource

Code

public function getVersion();