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/NavigationDataTable.php 1 location

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

src/DataTables/ArticlesDataTable.php 1 location

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