With current browsers and java you cannot use remote console because of mismatching ssl-protocols.
1) Download JNLP-File
Login in your ELO with edge or IE and download the jnlp for remote console:
"Remote Control" > "Redirection"
Sometimes you want to get the view object from a route object.
Sometimes you might want to get an instance of a class that implements ContainerInjectionInterface in unusual places.
If you want to check, if a user has access to a route, you can use the checkNamedRoute method of the
If you want to programmatically render a facet block provided by the Facets module, for example to provide a variable in a preprocess function, it would look something like this:
If you need to render an exposed form programmatically, you could use the following snippet. The result will be a renderable array for the exposed form.
Sometimes you just want to get the renderable array of a single field of an entity instead of the full entity.
Sometimes you get the error
Out of resources when opening file './database/table.MYD' (Errcode: 24 - Too many open files)
To fix this on Ubuntu 16.04 you have to change the limits and to change the systemd-config:
Suppose you have a view and want to dynamically alter the number of results shown by the view based on the view arguments.