/** * Initialize arguments * * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('email', 'string', 'Gravatar Email', TRUE); $this->registerArgument('default', 'string', 'Default URL if no gravatar was found'); $this->registerArgument('size', 'Integer', 'Size of the gravatar'); $this->registerUniversalTagAttributes(); }
/** * Initialize arguments * * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerTagAttribute('alt', 'string', 'Specifies an alternate text for an image', false); $this->registerTagAttribute('width', 'string', 'Specifies the image width', false); $this->registerTagAttribute('height', 'string', 'Specifies the image height', false); $this->registerArgument('email', 'string', 'Gravatar Email', true); $this->registerArgument('default', 'string', 'Default URL if no Gravatar was found'); $this->registerArgument('size', 'Integer', 'Size of the Gravatar'); $this->registerUniversalTagAttributes(); }
/** * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerUniversalTagAttributes(); }
/** * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerUniversalTagAttributes(); $this->registerTagAttribute('alt', 'string', 'Specifies an alternate text for an image', true); $this->registerTagAttribute('ismap', 'string', 'Specifies an image as a server-side image-map. Rarely used. Look at usemap instead', false); $this->registerTagAttribute('usemap', 'string', 'Specifies an image as a client-side image-map', false); // @deprecated since 2.0 use the "image" argument instead $this->registerArgument('asset', 'TYPO3\\Media\\Domain\\Model\\AssetInterface', 'The image to be rendered - DEPRECATED, use "image" argument instead', false); }
/** * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerUniversalTagAttributes(); $this->registerTagAttribute('alt', 'string', 'Specifies an alternate text for an asset', true); }