EPSON Image Scan! for Linux (iscan 2.30.4 for Perfection V370) doesn’t install properly on Debian 10 (Buster)

When I try to install iscan-perfection-v370-bundle-2.30.4.x64.deb on Debian 10 (Buster), I can see the following messages: expr: syntax error: missing argument after „-“ tail: invalid number of lines: „/lib/udev/rules.d/60-libsane.rules“ Note: The second message appears in a locale based translation; it has been translated back to English by me. Executing /sbin/dpkg-reconfigure iscan-data leads to the exact…

Details

How to get total number of rows on a block of a view

On hook_block_view_alter() I need to get a total number of rows that this block displays. For example, I have a view with the following block: On hook_block_view_alter() I do the appropriate checks in order to weed out unnecessary blocks and get the one shown in the figure above. function mymodule_block_view_alter(array &$build, \Drupal\Core\Block\BlockPluginInterface $block) { if…

Details