look up page View by its path We can search all the default views on our relatively new Drupal 8 site, to see what view resides at a particular path, with a query like:

$view_trim_path = 'blog';
$query = $this-&gt;entityQuery-&gt;get('view')
  -&gt;condition('display.page_1.display_options.path', $view_trim_path)


Unfortunately, this relies upon a hardcoded display name of page_1, which will not hold true in general.  In my dreams I would use a wildcard query like

  -&gt;condition('display.page*.display_options.path', ...)


Is there a way to do either of the following?


create a set of entityQuery conditions to find views that have display.*.display_options.path equal to a certain value, no matter what the value of * ... preferably when * begins with the page_ prefix
use another Drupal / View function to look up a view ID from its path (I can't find one)


I can see how to find this by loading the config entities for all views and traversing all those arrays, but my guess is that Drupal has provided a simpler means for this.  Also it seems the database abstraction layer would be of use, and if that's the best practice then it would really help me to have an example of how to use it for the above query.
The page prefix is meaningless, it can be changed by the user and can be anything.

So you just want display.*.display_options.path. 

It would match on other displays that have a path setting (e.g. REST or feed). If you want to avoid that, you add a second condition on display_plugin = page.