Code Duplication    Length = 16-16 lines in 3 locations

src/DataTables/TagsDataTable.php 1 location

@@ 90-105 (lines=16) @@
87
    /**
88
     * @return array
89
     */
90
    protected function getBuilderParameters()
91
    {
92
        return [
93
            'stateSave' => true,
94
            'buttons'   => [
95
                [
96
                    'extend' => 'create',
97
                    'text'   => '<i class="fa fa-plus"></i>&nbsp;&nbsp;New Article',
98
                ],
99
                'export',
100
                'print',
101
                'reset',
102
                'reload',
103
            ],
104
        ];
105
    }
106
107
    /**
108
     * Get filename for export.

src/DataTables/ArticlesDataTable.php 1 location

@@ 150-165 (lines=16) @@
147
    /**
148
     * @return array
149
     */
150
    protected function getBuilderParameters()
151
    {
152
        return [
153
            'stateSave' => true,
154
            'buttons'   => [
155
                [
156
                    'extend' => 'create',
157
                    'text'   => '<i class="fa fa-plus"></i>&nbsp;&nbsp;' . trans('cms::article.datatable.buttons.create'),
158
                ],
159
                'export',
160
                'print',
161
                'reset',
162
                'reload',
163
            ],
164
        ];
165
    }
166
167
    /**
168
     * Get filename for export.

src/DataTables/NavigationDataTable.php 1 location

@@ 87-102 (lines=16) @@
84
    /**
85
     * @return array
86
     */
87
    protected function getBuilderParameters()
88
    {
89
        return [
90
            'stateSave' => true,
91
            'buttons'   => [
92
                [
93
                    'extend' => 'create',
94
                    'text'   => '<i class="fa fa-plus"></i>&nbsp;&nbsp;' . trans('cms::navigation.datatable.buttons.create'),
95
                ],
96
                'export',
97
                'print',
98
                'reset',
99
                'reload',
100
            ],
101
        ];
102
    }
103
104
    /**
105
     * Get filename for export.