mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
[IMPR] Allow change to TeamMembersElement
This commit is contained in:
parent
882240c34e
commit
0a3470a0c3
@ -32,6 +32,8 @@ class TeamMembersElement extends BaseElement
|
|||||||
|
|
||||||
public function Members()
|
public function Members()
|
||||||
{
|
{
|
||||||
return TeamMember::get();
|
$members = TeamMember::get();
|
||||||
|
$this->extend('updateMembers', $members);
|
||||||
|
return $members;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user