Home
last modified time | relevance | path

Searched refs:BACKGROUND_IMAGE (Results 1 – 2 of 2) sorted by relevance

/plugin/combo/ComboStrap/Tag/
H A DBackgroundTag.php102 if ($backgroundAttributes->hasComponentAttribute(BackgroundAttribute::BACKGROUND_IMAGE)) {
124 $backgroundImage = $backgroundAttributes->getComponentAttributeValue(BackgroundAttribute::BACKGROUND_IMAGE);
125 $openingCall->setAttribute(BackgroundAttribute::BACKGROUND_IMAGE, $backgroundImage);
199 $backgroundAttributes->addComponentAttributeValue(BackgroundAttribute::BACKGROUND_IMAGE, $backgroundImageAttribute);
218 if (isset($attributes[BackgroundAttribute::BACKGROUND_IMAGE])) {
219 $image = $attributes[BackgroundAttribute::BACKGROUND_IMAGE];
/plugin/combo/ComboStrap/TagAttribute/
H A DBackgroundAttribute.php36 const BACKGROUND_IMAGE = 'background-image'; define in ComboStrap\\TagAttribute\\BackgroundAttribute
90 $backgroundImage = $background[self::BACKGROUND_IMAGE] ?? null;
92 $tagAttributes->addComponentAttributeValueIfNotEmpty(self::BACKGROUND_IMAGE, $backgroundImage);
141 if ($tagAttributes->hasComponentAttribute(self::BACKGROUND_IMAGE)) {
142 $backgroundImageValue = $tagAttributes->getValueAndRemove(self::BACKGROUND_IMAGE);
147 $backgroundImageStyleValue = $tagAttributes->getValueAndRemove(self::BACKGROUND_IMAGE);
231 $tagAttributes->addStyleDeclarationIfNotSet(self::BACKGROUND_IMAGE, $backgroundImageStyleValue);
260 $tagAttributes->addStyleDeclarationIfNotSet(self::BACKGROUND_IMAGE, 'linear-gradient(to top,#fff 0,' . ColorRgb::createFromString($mainColorValue)->toCssValue() . ' 100%)');