The parameter of the route

I created a delete form to execute delete operation and the delete form need a parameter named file_name, so I added a new route in my moudle's routing.yml. But when I cleared the site cache I got an error. How can I solve it?
The error details:
Symfony\Component\Routing\Exception\RouteNotFoundException: Route ''my_module_delete_the_file " does not exist.
I added the new route:
my_module_delete_the_file
path: '/admin/my_module/file/{file_name}/delete'
defaults:
_form: '\Drupal\my_module\Form\DeleteForm'

AMP module and Composer Questions

I want to get the new AMP module up and running on a new Drupal8 installation. I know alot about Drupal but I'm a newbie when it comes to using ssh and the command line. I've got as far as initializing the Composer Manager and applying the patch:

Validate simpleSAML user every X days

Hello,
I have installed simpleSAMLphp Auth module but I wonder how could I force the user to log-in using simpleSAML instead of their local log-in details so I could check that their Identity Provider account is still valid. I thought I could do so by using Rules module, but it doesn't let me (or I don't know how to do so) create a rule that is executed only one day a year.

Theme similar to Google Hangouts

I'm wondering if there is a theme that looks similar to the one Google Hangouts uses. Did anyone come across something similar?
https://cdn0.vox-cdn.com/thumbor/aps4KxgAsg5ooILbHxFJwoRYaYc=/0x0:1151x7...

Page not found [SOLVED]

Distribution: Debian Jessie
Fresh install: Drupal 8.0.5

The home page displays perfectly. Then when I try to navigate to any other page (right now that would be an admin page) I am getting an error.

"Not Found"  

The requested URL /home/user/drupal8/drupal-8.0.5/index.php was not found on this server.

I installed using drush with the following command:

sudo -u www-data drush dl drupal-8 --select

Using theme_handler: syntax error in $theme_list array?

I'm having trouble including the theme_handler service in a custom module's .install file

I inject:
$theme_handler = \Drupal::service('theme_handler');

And then when I include the following in my hook_install() function:
$theme_handler->enable(['desiredtheme']);

I get the following error when trying to install the module:
Fatal error: Call to a member function enable() on a non-object in (.install path) on line X

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x