You are here

public static function ResourceFieldCollection::create in RESTful 7.2

Factory.

Creates the collection based on the implementation of the static::getInfo method.

Return value

ResourceFieldCollectionInterface The newly created object.

Overrides ResourceFieldCollectionInterface::create

File

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

Class

ResourceFieldCollection

Namespace

Drupal\restful\Plugin\resource\Field

Code

public static function create() {
  static::factory(static::getInfo());
}