|
@@ -101,11 +101,13 @@ class DatagridMapper
|
|
|
|
|
|
/**
|
|
/**
|
|
* @param string $key
|
|
* @param string $key
|
|
- * @return void
|
|
|
|
|
|
+ * @return \Sonata\AdminBundle\Datagrid\DatagridMapper
|
|
*/
|
|
*/
|
|
public function remove($key)
|
|
public function remove($key)
|
|
{
|
|
{
|
|
$this->admin->removeFilterFieldDescription($key);
|
|
$this->admin->removeFilterFieldDescription($key);
|
|
$this->datagrid->remove($key);
|
|
$this->datagrid->remove($key);
|
|
|
|
+
|
|
|
|
+ return $this;
|
|
}
|
|
}
|
|
}
|
|
}
|