Code Duplication    Length = 7-7 lines in 2 locations

classes/fields/paragraph.php 1 location

@@ 136-142 (lines=7) @@
133
			),
134
		);
135
136
		if ( function_exists( 'Markdown' ) ) {
137
			$options['output_options']['group'][ static::$type . '_allow_markdown' ] = array(
138
				'label'   => __( 'Allow Markdown Syntax?', 'pods' ),
139
				'default' => 0,
140
				'type'    => 'boolean',
141
			);
142
		}
143
144
		return $options;
145
	}

classes/fields/wysiwyg.php 1 location

@@ 133-139 (lines=7) @@
130
			),
131
		);
132
133
		if ( function_exists( 'Markdown' ) ) {
134
			$options['output_options']['group'][ static::$type . '_allow_markdown' ] = array(
135
				'label'   => __( 'Allow Markdown Syntax?', 'pods' ),
136
				'default' => 0,
137
				'type'    => 'boolean',
138
			);
139
		}
140
141
		return $options;
142
	}