brrocks28
8/30/2016 - 6:36 AM

Mix

Mix


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++==

How do I add a class to a link generated with l()
ADD CLASS IN L FUNCTION


l('text', 'path', array('attributes' => array('class' => 'myclass')));

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++==

print an array/object in watchdog 
Watchdog array

watchdog("my_module", '<pre>' . print_r( $my_array_or_object, true) . '</pre>'); 

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++==

delete table data :: truncate table

 db_truncate('bbd_custom_order_log')->execute();
 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++==