- Assuming that you have already installed php and apache
- Install xDebug php extension
# Ubuntu 16.04, php 7.0
sudo apt-get install php-xdebug
# Ubuntu 14.04, php 5.6
sudo apt-get install php5-xdebug
| selectr: | |
| remote: https://github.com/Mobius1/Selectr | |
| license: | |
| name: MIT | |
| url: https://github.com/Mobius1/Selectr/blob/master/LICENSE | |
| gpl-compatible: true | |
| css: | |
| theme: | |
| https://cdn.jsdelivr.net/gh/mobius1/selectr@latest/dist/selectr.min.css: { type: external, minified: true } | |
| js: |
| (function ($, Drupal, settings) { | |
| "use strict"; | |
| Drupal.behaviors.YandexMapsSimple = { | |
| attach: function (context) { | |
| drupalSettings['geofield_yamaps_simple'].init_count ++; | |
| console.log(drupalSettings['geofield_yamaps_simple'].init_count); |
| <?php | |
| namespace Drupal\braslavskie_bat\Controller; | |
| use Drupal\braslavskie_bat\BatFullCalendarEvents; | |
| use Drupal\Core\Controller\ControllerBase; | |
| use Drupal\Core\Url; | |
| use Drupal\housing_rooms\Entity\HousingRoomInterface; | |
| use Symfony\Component\DependencyInjection\ContainerInterface; | |
| use Drupal\Core\Entity\EntityTypeManager; |
| <?php | |
| namespace Drupal\housing\Routing; | |
| use Drupal\Core\Routing\RouteSubscriberBase; | |
| use Drupal\Core\Routing\RoutingEvents; | |
| use Symfony\Component\Routing\RouteCollection; | |
| class HousingPageRouteSubscriber extends RouteSubscriberBase{ |
| <?php | |
| /** | |
| * @file | |
| * Contains \Drupal\housing_gallery\Plugin\RulesAction\HousingMediaCalc. | |
| */ | |
| namespace Drupal\housing_gallery\Plugin\RulesAction; | |
| use Drupal\Core\Plugin\ContainerFactoryPluginInterface; | |
| use Drupal\housing\Entity\HousingInterface; |
| <?php | |
| /** | |
| * Created by PhpStorm. | |
| * User: Lex | |
| * Date: 23.12.2017 | |
| * Time: 6:52 | |
| */ | |
| namespace Drupal\housing\Plugin\Condition; |
| <?php | |
| namespace Drupal\housing\Plugin\RulesAction; | |
| use Drupal\housing\Entity\HousingPageInterface; | |
| use Drupal\node\NodeInterface; | |
| use Drupal\rules\Core\RulesActionBase; | |
| /** | |
| * Provides a 'Housing Path Update' action. |
# Ubuntu 16.04, php 7.0
sudo apt-get install php-xdebug
# Ubuntu 14.04, php 5.6
sudo apt-get install php5-xdebug
| (function ($, Drupal, settings) { | |
| "use strict"; | |
| Drupal.behaviors.housingActionContact = { | |
| attach: function (context) { | |
| var button = $(".house-action-phones"); | |
| var housingId = button.data('housing'); | |
| var goalParams = | |
| { |
| <?php | |
| /** | |
| * Created by PhpStorm. | |
| * User: Lex | |
| * Date: 18.03.2015 | |
| * Time: 14:13 | |
| */ | |
| /** |