We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e993e5 + da917d2 commit 4361c86Copy full SHA for 4361c86
src/Listener/Traits/FormTypeTrait.php
@@ -135,6 +135,7 @@ protected function _getDefaultExtraLeftButtons(): array
135
$blacklist = $action->getConfig('scaffold.actions_blacklist', []);
136
if (
137
!in_array('delete', $blacklist, true) &&
138
+ $this->_crud()->isActionMapped('delete') &&
139
$this->_crud()->action('delete')->enabled()
140
) {
141
$buttons[] = [
0 commit comments