15 $field_info_items = array();
17 if( !empty( $this->item[
'adminLabel'] ) ) {
18 $field_info_items[] = array(
19 'value' => sprintf( __(
'Admin Label: %s',
'gk-gravityview' ), $this->item[
'adminLabel'] ),
20 'class' =>
'gv-sublabel' 25 if( is_numeric( $this->
id ) ) {
27 $field_type_title = GFCommon::get_field_type_title( $this->item[
'input_type'] );
29 if ( ! empty( $this->item[
'parent'] ) ) {
30 $field_info_items[] = array(
31 'value' => sprintf( esc_html__(
'Parent: %s',
'gk-gravityview' ), esc_attr( $this->item[
'parent'][
'label'] ) ),
35 $field_info_items[] = array(
36 'value' => sprintf( __(
'Type: %s',
'gk-gravityview'), $field_type_title ),
37 'hide_in_picker' => ! empty( $this->item[
'parent'] ),
40 $field_info_items[] = array(
41 'value' => sprintf( __(
'Field ID: %s',
'gk-gravityview'), $this->
id ),
45 if( !empty( $this->item[
'desc'] ) ) {
46 $field_info_items[] = array(
47 'value' => $this->item[
'desc']
51 $field_info_items[] = array(
52 'value' => sprintf( __(
'Form ID: %s',
'gk-gravityview' ), $this->form_id ),
53 'hide_in_picker' =>
true,
56 return $field_info_items;
A field or widget in GravityView view configuration.