├── README.md ├── console_command_demo ├── README.md ├── console.services.yml ├── console │ └── translations │ │ └── en │ │ └── user.role.create.yml ├── console_command_demo.info.yml ├── console_command_demo.module └── src │ └── Command │ └── RoleCreateCommand.php ├── custom_hooks_demo ├── custom_hooks_demo.info.yml ├── custom_hooks_demo.links.menu.yml ├── custom_hooks_demo.module ├── custom_hooks_demo.routing.yml └── src │ └── Controller │ └── CustomHooksDemoController.php ├── event_subscriber_demo ├── event_subscriber_demo.info.yml ├── event_subscriber_demo.module ├── event_subscriber_demo.services.yml └── src │ ├── Event │ └── NodeInsertDemoEvent.php │ └── EventSubscriber │ └── NodeInsertDemoSubscriber.php └── simple_page_demo ├── README.md ├── simple_page_demo.info.yml ├── simple_page_demo.links.menu.yml ├── simple_page_demo.routing.yml └── src └── Controller └── SimplePageDemoController.php /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/README.md -------------------------------------------------------------------------------- /console_command_demo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/console_command_demo/README.md -------------------------------------------------------------------------------- /console_command_demo/console.services.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/console_command_demo/console.services.yml -------------------------------------------------------------------------------- /console_command_demo/console/translations/en/user.role.create.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/console_command_demo/console/translations/en/user.role.create.yml -------------------------------------------------------------------------------- /console_command_demo/console_command_demo.info.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/console_command_demo/console_command_demo.info.yml -------------------------------------------------------------------------------- /console_command_demo/console_command_demo.module: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/console_command_demo/console_command_demo.module -------------------------------------------------------------------------------- /console_command_demo/src/Command/RoleCreateCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/console_command_demo/src/Command/RoleCreateCommand.php -------------------------------------------------------------------------------- /custom_hooks_demo/custom_hooks_demo.info.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/custom_hooks_demo/custom_hooks_demo.info.yml -------------------------------------------------------------------------------- /custom_hooks_demo/custom_hooks_demo.links.menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/custom_hooks_demo/custom_hooks_demo.links.menu.yml -------------------------------------------------------------------------------- /custom_hooks_demo/custom_hooks_demo.module: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/custom_hooks_demo/custom_hooks_demo.module -------------------------------------------------------------------------------- /custom_hooks_demo/custom_hooks_demo.routing.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/custom_hooks_demo/custom_hooks_demo.routing.yml -------------------------------------------------------------------------------- /custom_hooks_demo/src/Controller/CustomHooksDemoController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/custom_hooks_demo/src/Controller/CustomHooksDemoController.php -------------------------------------------------------------------------------- /event_subscriber_demo/event_subscriber_demo.info.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/event_subscriber_demo/event_subscriber_demo.info.yml -------------------------------------------------------------------------------- /event_subscriber_demo/event_subscriber_demo.module: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/event_subscriber_demo/event_subscriber_demo.module -------------------------------------------------------------------------------- /event_subscriber_demo/event_subscriber_demo.services.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/event_subscriber_demo/event_subscriber_demo.services.yml -------------------------------------------------------------------------------- /event_subscriber_demo/src/Event/NodeInsertDemoEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/event_subscriber_demo/src/Event/NodeInsertDemoEvent.php -------------------------------------------------------------------------------- /event_subscriber_demo/src/EventSubscriber/NodeInsertDemoSubscriber.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/event_subscriber_demo/src/EventSubscriber/NodeInsertDemoSubscriber.php -------------------------------------------------------------------------------- /simple_page_demo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/simple_page_demo/README.md -------------------------------------------------------------------------------- /simple_page_demo/simple_page_demo.info.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/simple_page_demo/simple_page_demo.info.yml -------------------------------------------------------------------------------- /simple_page_demo/simple_page_demo.links.menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/simple_page_demo/simple_page_demo.links.menu.yml -------------------------------------------------------------------------------- /simple_page_demo/simple_page_demo.routing.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/simple_page_demo/simple_page_demo.routing.yml -------------------------------------------------------------------------------- /simple_page_demo/src/Controller/SimplePageDemoController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-team/Drupal-8-Examples/HEAD/simple_page_demo/src/Controller/SimplePageDemoController.php --------------------------------------------------------------------------------