Source of file MslsLinkImageOnly.php

Size: 0,477 Bytes - Last Modified: 2018-02-05T14:23:18+00:00

/home/dennisploetner/Projects/Multisite-Language-Switcher/includes/MslsLinkImageOnly.php

12345678910111213141516171819202122232425262728293031
<?php
/**
 * MslsLinkImageOnly
 * @author Dennis Ploetner <re@lloc.de>
 * @since 0.9.8
 */

namespace lloc\Msls;

/**
 * Link type: Image only
 * @package Msls
 */
class MslsLinkImageOnly extends MslsLink {

	/**
	 * Output format
	 * @var string
	 */
	protected $format_string = '<img src="{src}" alt="{alt}"/>';

	/**
	 * Get the description
	 * @return string
	 */
	public static function get_description() {
		return __( 'Flag only', 'multisite-language-switcher' );
	}

}