


ALL OUR NOTIFIER CLASS NEEDS TO KNOW IS IT NEEDS SOMETHING ON WHICH IT HAS TO CALL THE SEND METHOD.



{d7.info}


{d7.module}

{d8_demo.module}

{d8_demo.routing.yml}


Drupal/<module_name>/Controller to keep all the Controllers related to <module_name> grouped in the same place.



_access: 'TRUE' _user_is_logged_in: 'TRUE'_permission: 'my permission name'_role: 'role1+role2' (AND)_role: 'role1, role2' (OR)
{d7_demo.module}



Drupal 8
$items['node/%nid']
{d7_demo.module}
{d8DemoController.php}

{d8_demo.routing.yml}


variable_set()
variable_get()


Module/hook system functions replaced with module handler service(https://drupal.org/node/1894902)