Completed
Pull Request — master (#421)
by Robbie
02:31
created

BlogFilterGridField   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
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
7
/**
8
 * Enables children of non-editable pages to be edited.
9
 */
10
class BlogFilterGridField extends GridField
11
{
12
    /**
13
     * @param FormTransformation $transformation
14
     *
15
     * @return $this
16
     */
17
    public function transform(FormTransformation $transformation)
18
    {
19
        return $this;
20
    }
21
}
22