If you still have problems, please let us know, by sending an email to email@example.com Thank you!
In this 'How to' I will show you how to dispatch an event from a module called 'othermodule'.
First, we need a class that is extending the \Symfony\Component\EventDispatcher\Event class.
This calss will contains all the information we want to send when we dispatch the event.
Place this class in \othermodule\src\Event\OtherModuleEvent.php
In Drupal 7 we used the function drupal_alter() to allow other modules to alter our data.
This function is not available any more in Drupal 8.
For Drupal 8 we have to use the following code, supposing that $data is our data that can be altered by other modules.
1 Download and install Jssor Slider from https://www.drupal.org/project/jssor
2 Add a directory called "libraries" in your drupal root directory.
3 Download the Jssor library from http://www.jssor.com/download-jssor-slider-from-github.html and extract it to "libraries" directory under "jssor-slider" subdirectory
Drupal 8 has hit the web at full speed. The latest installment of the acclaimed content management system is here to boost online productivity sky-high. The platform is better than ever and ready to power small business, enterprises and anything else one can think at with new, innovative and rich tools and features.