You are here

public static function SliderPro::create in Slider Pro 8

Same name in this branch
  1. 8 src/Entity/SliderPro.php \Drupal\slider_pro\Entity\SliderPro::create()
  2. 8 src/Plugin/views/style/SliderPro.php \Drupal\slider_pro\Plugin\views\style\SliderPro::create()

Constructs a new entity object, without permanently saving it.

Parameters

array $values: (optional) An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified.

Return value

static The entity object.

Overrides EntityBase::create

File

src/Entity/SliderPro.php, line 164

Class

SliderPro
Defines the SliderPro entity.

Namespace

Drupal\slider_pro\Entity

Code

public static function create(array $values = []) {
  return parent::create($values);
}