You are here

public static function SlickBaseInterface::create in Slick Carousel 7.3

Returns a new optionset object without saving it to the database.

Parameters

array $values: The values to build the optionset if provided.

Return value

object Returns the programmatically created optionset object.

1 method overrides SlickBaseInterface::create()
SlickBase::create in src/Entity/SlickBase.php
Returns a new optionset object without saving it to the database.

File

src/Entity/SlickBaseInterface.php, line 54

Class

SlickBaseInterface
Provides an interface defining a Slick entity.

Namespace

Drupal\slick\Entity

Code

public static function create(array $values = []);