in D8, watchdog is gone, so use \Drupal::logger
:
\Drupal::logger('module name or other id')->info('the logged info');
in D8, watchdog is gone, so use \Drupal::logger
:
\Drupal::logger('module name or other id')->info('the logged info');
try using https://www.drupal.org/project/views_merge_rows or a hook:
function MODULE_views_pre_render(ViewExecutable $view) {
if ($view->id() == 'VIEW_ID') {
$nids = [];
foreach ($view->result as $k => $result) {
$nid = $result->nid;
if (in_array($nid, $nids)) {
unset($view->result[$k]);
Shows a list of outdated projects named in composer.json
with the currently installed and available versions. Lots more options at: https://getcomposer.org/doc/03-cli.md#show
php -r "echo ini_get('memory_limit').PHP_EOL;" |
php -r "echo php_ini_loaded_file().PHP_EOL;" |
drupal/core-dev