public static function SlickBaseInterface::exists in Slick Carousel 7.3
Checks whether an optionset with the given name already exists.
Parameters
string $name: The Optionset machine name.
Return value
bool Returns TRUE if exists, FALSE otherwise.
1 method overrides SlickBaseInterface::exists()
- SlickBase::exists in src/
Entity/ SlickBase.php - Checks whether an optionset with the given name already exists.
File
- src/
Entity/ SlickBaseInterface.php, line 43
Class
- SlickBaseInterface
- Provides an interface defining a Slick entity.
Namespace
Drupal\slick\EntityCode
public static function exists($name);