render()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Main breadcrumb administration - text settings field.
4
 *
5
 * @package carbon-breadcrumbs
6
 */
7
8
/**
9
 * Manages and renders a text settings field.
10
 *
11
 * @uses Carbon_Breadcrumb_Admin_Settings_Field
12
 */
13
class Carbon_Breadcrumb_Admin_Settings_Field_Text extends Carbon_Breadcrumb_Admin_Settings_Field {
14
15
	/**
16
	 * Render this field.
17
	 *
18
	 * @access public
19
	 */
20
	public function render() {
21
		?>
22
		<input name="<?php echo esc_attr( $this->get_id() ); ?>" id="<?php echo esc_attr( $this->get_id() ); ?>" type="text" value="<?php echo esc_attr( $this->get_value() ); ?>" class="regular-text" />
23
		<?php
24
		$this->render_help();
25
	}
26
27
}
28