Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm working on a website with commerce 2.x subscriptions auto-renewal with Drupal 8. The problem is that after an user will pay for membership, they can not cancel anymore the auto-renewal. I can't find any relevant information about this functionality.
I would like to cancel auto-renewal when they wants while keeping the current subscription running to the end of the billing period.
I am able to get ajax working on other form elements, but for some reason I am unable to find the event for the managed_file element. Am I missing something?
$form['import_file'] = array(
'#type' => 'managed_file',
'#name' => 'import_file',
'#title' => t('Select Import File'),
'#size' => 20,
'#description' => t('CSV only for now'),
'#upload_validators' => $validators,
'#upload_location' => 'public://easy_import',
'#progress_indicator' => 'bar',
I am wondering if there is a module out there that allows an administrator to bulk update/edit Access per View by Role as available under Page Settings in the Views UI. It would be something like a master list of all Views and then you could check/uncheck which Roles can access that particular View. I looked around but could not find something like this. Any leads would be much appreciated!