Completed
Pull Request — master (#421)
by Robbie
06:39
created

BlogFilterGridField   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A transform() 0 4 1
1
<?php
2
3
namespace SilverStripe\Blog\Model\BlogFilter;
4
5
use SilverStripe\Forms\FormTransformation;
6
use SilverStripe\Forms\GridField\GridField;
7
8
/**
9
 * Enables children of non-editable pages to be edited.
10
 */
11
class BlogFilterGridField extends GridField
12
{
13
    /**
14
     * @param FormTransformation $transformation
15
     *
16
     * @return $this
17
     */
18
    public function transform(FormTransformation $transformation)
19
    {
20
        return $this;
21
    }
22
}
23