publishcontent.routing.yml in Publish Content 8
10 string references to YAML keys in publishcontent.routing.yml
- PublishContentLocalTask::create in src/
Plugin/ Menu/ LocalTask/ PublishContentLocalTask.php - Creates an instance of the plugin.
- PublishContentNode::create in src/
Plugin/ views/ field/ PublishContentNode.php - Creates an instance of the plugin.
- PublishContentNode::render in src/
Plugin/ views/ field/ PublishContentNode.php - Renders the field.
- PublishContentPublishEntity::create in src/
Controller/ PublishContentPublishEntity.php - Instantiates a new instance of this class.
- PublishContentSettings::buildForm in src/
Form/ PublishContentSettings.php - Form constructor.
File
publishcontent.routing.ymlView source
- entity.node.publish:
- path: '/node/{node}/toggleStatus'
- defaults:
- _controller: 'Drupal\publishcontent\Controller\PublishContentPublishEntity::toggleEntityStatus'
- requirements:
- _csrf_token: 'TRUE'
- _publish_access_check: 'TRUE'
- _custom_access: 'Drupal\publishcontent\Controller\PublishContentPublishEntity::hasUILocalTask'
-
- entity.node.publish_translation:
- path: '/node/{node}/toggleStatus/{langcode}'
- defaults:
- _controller: 'Drupal\publishcontent\Controller\PublishContentPublishEntity::toggleEntityStatus'
- requirements:
- _csrf_token: 'TRUE'
- _publish_access_check: 'TRUE'
- _custom_access: 'Drupal\publishcontent\Controller\PublishContentPublishEntity::hasUILocalTask'
-
- publishcontent.settings:
- path: '/admin/config/workflow/publishcontent'
- defaults:
- _form: '\Drupal\publishcontent\Form\PublishContentSettings'
- _title: 'PublishContentSettings'
- requirements:
- _permission: 'access publish content settings'
- options:
- _admin_route: TRUE