Skip to main content
4
results
Andrew Fletcher
Creating a message log using Drupal watchdog.   Simple log // Logs a notice \Drupal::logger('my_module')->notice($message); // Logs an error \Drupal::logger('my_module')->error($message);   Adding a layer of complexity to the log public function submitForm(array &$form, FormStateInterface $form_state) {     $entity = $this->getEntity();     $entity->delete();     \Drupal::logger('content_entity_example')->notice('@type: deleted...
Andrew Fletcher
Time is essential to all of us... and if you are like me there is never enough...
Andrew Fletcher
Images For some time, when looking for images online for your app or site I have...
Andrew Fletcher
I had the issue where I needed to filter an array list by a specific column....