src/CoreBundle/Assets/IconBuilder.php
public function getBackendIconImageTag(
        $icon,
        $alt = '',
        $attributes = '',
        $defaultIcon = 'bundles/metamodelscore/images/icons/metamodels.png'
    ) {
        return $this->image->getHtml($this->getBackendIcon($icon, $defaultIcon), $alt, $attributes);
    }
public function getBackendIconImageTag(
        $icon,
        $alt = '',
        $attributes = '',
        $defaultIcon = 'bundles/metamodelscore/images/icons/metamodels.png'
    ) {
        return $this->image->getHtml($this->getBackendIcon($icon, $defaultIcon), $alt, $attributes);
    }
Get a 16x16 pixel resized icon <img>-tag of the passed image if it exists, return the default MM icon otherwise.

@param string $icon        The image path.
@param string $alt         An optional alt attribute.
@param string $attributes  A string of other attributes.
@param string $defaultIcon The default icon.

@return string