Code Duplication    Length = 7-7 lines in 5 locations

components/Builder/modules/field/PodsBuilderModuleField.php 1 location

@@ 21-27 (lines=7) @@
18
        /**
19
         * Register the Module
20
         */
21
        public function __construct () {
22
            $this->_name = __( 'Pods - Field Value', 'pods' );
23
            $this->_description = __( "Display a single Pod item's field value", 'pods' );
24
            $this->module_path = dirname( __FILE__ );
25
26
            $this->LayoutModule();
27
        }
28
29
        /**
30
         * Set default variables

components/Builder/modules/form/PodsBuilderModuleForm.php 1 location

@@ 21-27 (lines=7) @@
18
        /**
19
         * Register the Module
20
         */
21
        public function __construct () {
22
            $this->_name = __( 'Pods - Form', 'pods' );
23
            $this->_description = __( 'Display a form for creating and editing Pod items', 'pods' );
24
            $this->module_path = dirname( __FILE__ );
25
26
            $this->LayoutModule();
27
        }
28
29
        /**
30
         * Set default variables

components/Builder/modules/list/PodsBuilderModuleList.php 1 location

@@ 21-27 (lines=7) @@
18
        /**
19
         * Register the Module
20
         */
21
        public function __construct () {
22
            $this->_name = __( 'Pods - List Items', 'pods' );
23
            $this->_description = __( 'Display multiple Pod items', 'pods' );
24
            $this->module_path = dirname( __FILE__ );
25
26
            $this->LayoutModule();
27
        }
28
29
        /**
30
         * Set default variables

components/Builder/modules/single/PodsBuilderModuleSingle.php 1 location

@@ 21-27 (lines=7) @@
18
        /**
19
         * Register the Module
20
         */
21
        public function __construct () {
22
            $this->_name = __( 'Pods - Single Item', 'pods' );
23
            $this->_description = __( 'Display a single Pod item', 'pods' );
24
            $this->module_path = dirname( __FILE__ );
25
26
            $this->LayoutModule();
27
        }
28
29
        /**
30
         * Set default variables

components/Builder/modules/view/PodsBuilderModuleView.php 1 location

@@ 21-27 (lines=7) @@
18
        /**
19
         * Register the Module
20
         */
21
        public function __construct () {
22
            $this->_name = __( 'Pods - View', 'pods' );
23
            $this->_description = __( "Include a file from a theme, with caching options", 'pods' );
24
            $this->module_path = dirname( __FILE__ );
25
26
            $this->LayoutModule();
27
        }
28
29
        /**
30
         * Set default variables