Skip to content
Snippets Groups Projects

Issue #2707689: NodeForm::actions() checks for delete access on new entities

4 files
+ 45
2
Compare changes
  • Side-by-side
  • Inline
Files
4
  • 2b1faaac
    Issue #3261538 by andregp, dww, joachim, alexpott:... · 2b1faaac
    Alex Pott authored
    Issue #3261538 by andregp, dww, joachim, alexpott: BundleClassInheritanceException incorrectly thrown when a bundle class does not exist
<?php
namespace Drupal\Core\Entity\Exception;
/**
* Exception thrown if a bundle class does not exist.
*
* @see \Drupal\Core\Entity\ContentEntityStorageBase::getEntityClass()
*/
class MissingBundleClassException extends \Exception {
/**
* Constructs a MissingBundleClassException.
*
* @param string $bundle_class
* The bundle class which should exist.
*/
public function __construct(string $bundle_class) {
$message = sprintf('Bundle class %s does not exist.', $bundle_class);
parent::__construct($message);
}
}
Loading