Drupal logger

    \Drupal::logger('content_entity_example')->notice('Source data:: %source_data',

    array(

        '%source_data' => print_r($source_data, TRUE),

    )); 

Comments

Popular posts from this blog

Programatically create layout builder section in Drupal

Set up Drupal7 to Drupal8 migration in simple steps (using Drush)

ClamAV in MAC