Skip to content

Commit

Permalink
feat: able to set endpoints table (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbertRitsema committed Jan 17, 2023
1 parent 9279f2b commit e9e49f8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/NotFound/Layout/Elements/Table/LayoutTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,20 @@ public function setTotalItems(int $number)
return $this;
}

public function setDeleteEndpoint(string $endpoint)
{
$this->properties->deleteEndpoint = $endpoint;

return $this;
}

public function setMoveEndpoint(string $endpoint)
{
$this->properties->moveEndpoint = $endpoint;

return $this;
}

public function setCustomEditIcon(string $iconName)
{
$this->properties->editIcon = $iconName;
Expand Down

0 comments on commit e9e49f8

Please sign in to comment.