reinstalled all contribs with composer

need to run :
drush ev 'drupal_flush_all_caches();'
drush cr
and restart nginx and php-fpm before loading the website
This commit is contained in:
2019-04-30 19:27:47 +02:00
parent e1f9bb3cd0
commit 9da6cf9927
373 changed files with 3392 additions and 5 deletions
@@ -0,0 +1,14 @@
# @Author: Bachir Soussi Chiadmi <bach>
# @Date: 13-12-2017
# @Email: bachir@figureslibres.io
# @Filename: edlp_admin.info.yml
# @Last modified by: bach
# @Last modified time: 20-12-2017
# @License: GPL-V3
name: Edlp Admin
type: module
description: Admin helpers for edlp d8.
core: 8.x
package: Edlp
@@ -0,0 +1,56 @@
edlp_admin.add_enregistrement:
route_name: 'node.add'
route_parameters:
node_type: 'enregistrement'
title: 'New Document'
appears_on:
- view.content.page_2
edlp_admin.add_fil:
route_name: 'node.add'
route_parameters:
node_type: 'fil'
title: 'New Fil'
appears_on:
- view.content.page_4
edlp_admin.add_page:
route_name: 'node.add'
route_parameters:
node_type: 'page'
title: 'New Page'
appears_on:
- view.content.page_1
edlp_admin.edit_prod_menu:
route_name: 'entity.menu.edit_form'
route_parameters:
menu: 'productions'
title: 'Edit Production Menu'
appears_on:
- view.content.page_1
edlp_admin.add_evenement:
route_name: 'node.add'
route_parameters:
node_type: 'evenement'
title: 'New Événement'
appears_on:
- view.content.page_3
edlp_admin.add_entry:
route_name: 'entity.taxonomy_term.add_form'
route_parameters:
taxonomy_vocabulary: 'entrees'
title: 'New Entry'
appears_on:
- view.entree_s_.page_1
edlp_admin.add_genre:
route_name: 'entity.taxonomy_term.add_form'
route_parameters:
taxonomy_vocabulary: 'genres'
title: 'New Genre'
appears_on:
- view.entree_s_.page_2
edlp_admin.add_langue:
route_name: 'entity.taxonomy_term.add_form'
route_parameters:
taxonomy_vocabulary: 'langues'
title: 'New Langue'
appears_on:
- view.entree_s_.page_3
@@ -0,0 +1,8 @@
<?php
# @Author: Bachir Soussi Chiadmi <bach>
# @Date: 13-12-2017
# @Email: bachir@figureslibres.io
# @Filename: edlp_admin.module
# @Last modified by: bach
# @Last modified time: 20-12-2017
# @License: GPL-V3
@@ -0,0 +1,36 @@
<?php
namespace Drupal\edlp_admin\Plugin\Filter;
use Drupal\Component\Utility\Html;
// use Drupal\Component\Utility\Unicode;
// use Drupal\Component\Utility\Xss;
use Drupal\filter\FilterProcessResult;
use Drupal\filter\Plugin\FilterBase;
// use Drupal\Core\Url;
// use Drupal\Core\Template\Attribute;
/**
* Provides a filter to convert audio links.
*
* @Filter(
* id = "css",
* title = @Translation("Css remove filter"),
* description = @Translation("Remove all style attributes"),
* type = Drupal\filter\Plugin\FilterInterface::TYPE_TRANSFORM_REVERSIBLE
* )
*/
class CssFilter extends FilterBase {
/**
* {@inheritdoc}
*/
public function process($text, $langcode) {
$result = new FilterProcessResult($text);
$cleaned_text = preg_replace('/style="[^"]*"/i', '', $text);
$result->setProcessedText($cleaned_text);
return $result;
}
}