protected function TeamMembersList::buildOperations in Apigee Edge 8
Builds operations for a member.
Parameters
string $member: The email address of a member (developer).
\Drupal\apigee_edge_teams\Entity\TeamInterface $team: The team that the member belongs.
Return value
array Render array.
1 call to TeamMembersList::buildOperations()
- TeamMembersList::buildRow in modules/
apigee_edge_teams/ src/ Controller/ TeamMembersList.php - Builds a row for a team member.
File
- modules/
apigee_edge_teams/ src/ Controller/ TeamMembersList.php, line 237
Class
- TeamMembersList
- Team members list builder for a team.
Namespace
Drupal\apigee_edge_teams\ControllerCode
protected function buildOperations(string $member, TeamInterface $team) : array {
return [
'#type' => 'operations',
'#links' => $this
->getOperations($member, $team),
];
}