mirror of
https://github.com/silverstripe/silverstripe-widgets
synced 2024-10-22 17:05:54 +02:00
added canView function
This commit is contained in:
parent
0986537be7
commit
7c20481f95
@ -316,4 +316,9 @@ class Widget extends DataObject
|
||||
$this->Name = $this->class . $this->ID;
|
||||
$this->write();
|
||||
}
|
||||
|
||||
public function canView($member = null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user