项目作者: boristim

项目描述 :
interview for Drupal 8
高级语言: PHP
项目地址: git://github.com/boristim/approval_codes.git
创建时间: 2019-10-12T09:43:44Z
项目社区:https://github.com/boristim/approval_codes

开源协议:GNU General Public License v2.0

下载


Task conditions see in Approval codes.pdf

Full informaition see here
https://docs.google.com/document/d/1YA-PBnmGSm2q3C6XsZxI2aWl0XosNX0YfL_seT2hDFU/edit?usp=sharing

Create the approval_codes module

Create an entity approval_codes_entity (bundle_name, code, code_level)

Сreate the module configuration form in three fields - a separator\delimiter, default site-level code, default contente-level code and CRUD to fill approval_codes_entity. All data is checked by regular expressions.

Create a custom service to get the code for the current page

Create a custom block where we use this service

Place via standart interface in any region block named Approval codes

Configure and edit codes via admin interface /admin/config/system/approval-codes

Almost all operations are performed using drush \ drupalconsole generators with little manual coding of logic.