0

This questions has repeat several times, but I face similar issues. Here are configuration yml information

webform_protected_downloads.configsettings.yml

token_text: 'test'
langcode: en

webform_protected_downloads.schema.yml

webform_protected_downloads.configsettings:
  type: config_object
  label: 'Webform projected downloads translate settings configuration'
  mapping:
   token_text:
     type: string
     label: 'Token text title'

webform_protected_downloads.config_translation.yml

webform_protected_downloads.admin:
  title: 'Web forms protected downloads configuration'
  base_route_name: webform_protected_downloads.admin
  names:
   - webform_protected_downloads.configsettings

webform_protected_downloads.links.menu.yml

webform_protected_downloads.admin_link:
  title: Webform protected download translate configuration
  description: 'Configure webform protected download forms on which translation will be used.'
   parent: system.admin_config_services
   route_name: webform_protected_downloads.admin

webform_protected_downloads.links.task.yml

webform_protected_downloads.admin_tab:
  title: 'Protected download files config'
  route_name: webform_protected_downloads.admin
  base_route: webform_protected_downloads.admin

webform_protected_downloads.permissions.yml

administer site configuration:
  title: 'Administer webform protected downloads'
  description: 'Administer webform protected downloads forms and settings.'
  restrict access: true

webform_protected_downloads.routing.yml

path: '/admin/config/services/webform-protected-downloads'
defaults:
  _form: '\Drupal\webform_protected_downloads\Form\WebformProtectedDownloadsConfigSettingsForm'
requirements:
  _permission: 'administer site configuration'

I can access configure form on Configuration page but does not show translation tab. In addition, configuration form list in config-translation page when I click on translate button it shows ACCESS DENIED. I debug code to verify config information "\Drupal::config('webform_protected_downloads.configsettings')" it return empty "data" array.

Appreciate if you share your experience.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.