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
Namespace
Drupal\restful\Plugin\resource\FieldCode
public static function create() {
static::factory(static::getInfo());
}