Skip to content

Commit

Permalink
Added __toString to fix search page URL handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
kepol committed Jan 20, 2024
1 parent 52fb5ae commit c04cf47
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/quant_search/src/Entity/QuantSearchPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,13 @@ class QuantSearchPage extends ConfigEntityBase implements QuantSearchPageInterfa
*/
protected $display = [];

/**
* Get route for string representation.
*
* @var array
*/
public function __toString() {
return $this->route;
}

}

0 comments on commit c04cf47

Please sign in to comment.