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:
Sometimes you just want to get the renderable array of a single field of an entity instead of the full entity.
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.
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 want to check, if a user has access to a route, you can use the checkNamedRoute method of the
Sometimes you might want to get an instance of a class that implements ContainerInjectionInterface in unusual places.
Sometimes you want to get the view object from a route object.
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"