public static function SlickBase::defaultProperties in Slick Carousel 7.3
Returns default database field property values.
Return value
mixed[] An array of property values, keyed by property name.
3 calls to SlickBase::defaultProperties()
- Slick::defaultProperties in src/
Entity/ Slick.php - Returns default database field property values.
- SlickBase::create in src/
Entity/ SlickBase.php - Returns a new optionset object without saving it to the database.
- SlickBase::toArray in src/
Entity/ SlickBase.php - Returns an array of all property values.
1 method overrides SlickBase::defaultProperties()
- Slick::defaultProperties in src/
Entity/ Slick.php - Returns default database field property values.
File
- src/
Entity/ SlickBase.php, line 232
Class
- SlickBase
- Defines the Slick configuration entity.
Namespace
Drupal\slick\EntityCode
public static function defaultProperties() {
return [
'name' => 'default',
'label' => 'Default',
'options' => [],
];
}