Skip to content
Snippets Groups Projects
Commit aae02bde authored by Damian Lee's avatar Damian Lee Committed by Tim Plunkett
Browse files

Removed reference in entity paramter in attachDisplays()

parent e01e4194
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -108,7 +108,7 @@ public function create(array $values) {
*
* @param Drupal\entity\StorableInterface $entity
*/
protected function attachDisplays(&$entity) {
protected function attachDisplays($entity) {
if (isset($entity->display) && is_array($entity->display)) {
$displays = array();
foreach ($entity->get('display') as $key => $options) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment