Code Duplication    Length = 11-11 lines in 2 locations

components/I18n/I18n-polylang.php 1 location

@@ 30-40 (lines=11) @@
27
		return $data;
28
	}
29
30
	public function pods_component_i18n_admin_ui_fields( $fields, $data ) {
31
		$fields['manage']['polylang'] = array(
32
			'label' => __( 'Polylang' , $this->textdomain ),
33
			'type' => 'boolean',
34
			/*'options' => array(
35
				'text_allow_html' => 1,
36
				'text_allowed_html_tags' => 'br a',
37
			)*/
38
		);
39
		return $fields;
40
	}
41
42
}
43

components/I18n/I18n-wpml.php 1 location

@@ 36-46 (lines=11) @@
33
		return $data;
34
	}
35
36
	public function pods_component_i18n_admin_ui_fields( $fields, $data ) {
37
		$fields['manage']['wpml'] = array(
38
			'label' => __( 'WPML' , $this->textdomain ),
39
			'type' => 'boolean',
40
			/*'options' => array(
41
				'text_allow_html' => 1,
42
				'text_allowed_html_tags' => 'br a',
43
			)*/
44
		);
45
		return $fields;
46
	}
47
48
}
49