Completed
Push — master ( ea28d3...1760c1 )
by Dennis
04:45
created

MslsLinkTextOnly::get_description()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * MslsLinkTextOnly
4
 * @author Dennis Ploetner <[email protected]>
5
 * @since 0.9.8
6
 */
7
8
namespace lloc\Msls;
9
10
/**
11
 * Link type: Text only
12
 * @package Msls
13
 */
14
class MslsLinkTextOnly extends MslsLink {
15
16
	/**
17
	 * Output format
18
	 * @var string
19
	 */
20
	protected $format_string = '{txt}';
21
22
	/**
23
	 * Get the description
24
	 * @return string
25
	 */
26
	public static function get_description() {
27
		return __( 'Description only', 'multisite-language-switcher' );
28
	}
29
30
}
31