Commit aae02bde authored by damiankloip's avatar damiankloip Committed by tim.plunkett
Browse files

Removed reference in entity paramter in attachDisplays()

parent e01e4194
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment