In this snippet we will mark the obligatory fields present as non-obligatory, and it will be under the condition that the user actually has the role of administrator.
Here is a code fragment in Drupal 7 that implements a callback with the aim of facilitating two actions according to the action that you want to carry out.
El objetivo de esta guía es facilitar un comando que nos permita ver el log de Drupal de la misma manera que se muestra el log de PHP al utilizar el comando tail -f.