Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I really don't understand where to enter (what file):
$links[] = ctools_modal_text_button(t('Modal Login'), 'modal_forms/nojs/login', t('Login via modal'));
$links[] = ctools_modal_text_button(t('Modal Login'), 'modal_forms/nojs/login', t('Login via modal'), 'ctools-modal-modal-popup-small');
Comments
Comment #1
frjo CreditAttribution: frjo commentedThis is for when you are building your own module or theme.
Comment #2
allvip CreditAttribution: allvip commentedthanks