public function TextimageFactoryInterface::getTextimageStyleOptions in Textimage 8.4
Same name and namespace in other branches
- 8.3 src/TextimageFactoryInterface.php \Drupal\textimage\TextimageFactoryInterface::getTextimageStyleOptions()
Gets an array of Textimage image styles suitable for select list options.
Parameters
bool $limit_to_textimage: (optional) TRUE to limit styles to only those with Textimage effects.
Return value
string[] Array of image styles, where both key and value are set to style name.
1 method overrides TextimageFactoryInterface::getTextimageStyleOptions()
- TextimageFactory::getTextimageStyleOptions in src/
TextimageFactory.php - Gets an array of Textimage image styles suitable for select list options.
File
- src/
TextimageFactoryInterface.php, line 76
Class
- TextimageFactoryInterface
- Provides an interface for TextimageFactory.
Namespace
Drupal\textimageCode
public function getTextimageStyleOptions($limit_to_textimage = FALSE);