Url::fromUri('mailto:[email protected]')
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function civicrm_customs_action_info() { | |
return array( | |
'civicrm_customs_update_participant_status_action' => array( | |
'type' => 'civicrm_participant', | |
'label' => t('Update participant status'), | |
'behavior' => array('views_property'), | |
'configurable' => FALSE, | |
'vbo_configurable' => TRUE, | |
'triggers' => array('any'), | |
'pass rows' => TRUE, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function civicrm_customs_action_info() { | |
return array( | |
'civicrm_customs_update_activity_status_action' => array( | |
'type' => 'civicrm_activity', | |
'label' => t('Update Activity Status'), | |
'behavior' => array('views_property'), | |
'configurable' => FALSE, | |
'vbo_configurable' => TRUE, | |
'triggers' => array('any'), | |
'pass rows' => TRUE, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function MYMODULE_template_preprocess_default_variables_alter(&$variables) { | |
$current_path = \Drupal::service('path.current')->getPath(); | |
$variables['current_path'] = $current_path; | |
} |