Skip to content

Commit

Permalink
Revert the DataTableBuilderInterface.php
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-castelain committed Jan 10, 2025
1 parent 8def4c4 commit 37eddaf
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/DataTableBuilderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,25 @@ public function setAutoAddingBatchCheckboxColumn(bool $autoAddingBatchCheckboxCo
*/
public function getRowActions(): array;

/**
* @throws InvalidArgumentException if row action of given name does not exist
*/
public function getRowAction(string $name): ActionBuilderInterface;

public function hasRowAction(string $name): bool;

/**
* @param class-string<ActionTypeInterface>|null $type
*/
public function createRowAction(string $name, ?string $type = null, array $options = []): ActionBuilderInterface;

/**
* @param class-string<ActionTypeInterface>|null $type
*/
public function addRowAction(ActionBuilderInterface|string $action, ?string $type = null, array $options = []): static;

public function removeRowAction(string $name): static;

public function isAutoAddingActionsColumn(): bool;

public function setAutoAddingActionsColumn(bool $autoAddingActionsColumn): static;
Expand Down

0 comments on commit 37eddaf

Please sign in to comment.