Lines Matching defs:tagAttributes
52 public static function handle($tagAttributes, $handler): array
66 PluginUtility::ATTRIBUTES => $tagAttributes->toCallStackArray(),
71 public static function render(TagAttributes $tagAttributes, array $data)
78 $path = syntax_plugin_combo_iterator::getContextPathForComponentThatMayBeInFragment($tagAttributes);
86 $zoom = $tagAttributes->getValueAndRemoveIfPresent(Dimension::ZOOM_ATTRIBUTE, self::DEFAULT_ZOOM);
91 $order = self::getOrderOfPreference($tagAttributes);
128 $width = $tagAttributes->getValueAndRemoveIfPresent(Dimension::WIDTH_KEY);
129 $height = $tagAttributes->getValueAndRemoveIfPresent(Dimension::HEIGHT_KEY);
130 $ratio = $tagAttributes->getValueAndRemoveIfPresent(Dimension::RATIO_ATTRIBUTE);
200 $tagAttributes->addClassName(StyleAttribute::addComboStrapSuffix($pageImageProcessing));
213 $imageFetcher->buildFromTagAttributes($tagAttributes);
266 $tagAttributes->addStyleDeclarationIfNotSet("max-width", "100%");
267 $tagAttributes->addStyleDeclarationIfNotSet("max-height", "unset");
271 $tagAttributes->setType(self::MARKUP);
275 ->buildFromTagAttributes($tagAttributes)
293 private static function getOrderOfPreference(TagAttributes $tagAttributes): array
296 $type = $tagAttributes->getType();
299 $default = $tagAttributes->getValueAndRemoveIfPresent(PageImageTag::DEFAULT_ATTRIBUTE);