'/'] + $values); // Ensure the alias is only 255 characters long. $entity->set('alias', substr('/' . $entity->get('alias')->value, 0, 255)); return $entity; } }