PHP Classes

File: config/gdpr-autodelete/gdpr.autodelete.user.link.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis CMS   config/gdpr-autodelete/gdpr.autodelete.user.link.php   Download  
File: config/gdpr-autodelete/gdpr.autodelete.user.link.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Melis CMS
Content management system that provides its tools
Author: By
Last change:
Date: 1 year ago
Size: 2,828 bytes
 

Contents

Class file image Download
<?php

return [
   
'plugins' => [
       
'MelisCoreGdprAutoDelete' => [
           
'tools' => [
               
'melis_core_gdpr_auto_delete' => [
                   
'forms' => [
                       
'melisgdprautodelete_add_edit_alert_email' => [
                           
'elements' => [
                                [
                                   
'spec' => [
                                       
'name' => 'mgdpre_link',
                                       
'type' => "MelisText",
                                       
'options' => [
                                           
'label' => 'tr_melis_core_gdpr_autodelete_label_alert_email_link',
                                           
'tooltip' => 'tr_melis_core_gdpr_autodelete_label_alert_email_link tooltip',
                                           
'label_attribute' => [
                                               
'class' => "d-flex flex-row justify-content-between"
                                           
],
                                           
'no_id' => true
                                       
],
                                       
'attributes' => [
                                           
'class' => 'melis-input-group-button',
                                           
'data-button-icon' => 'fa fa-sitemap',
                                           
'data-button-class' => 'meliscms-site-selector'
                                       
]
                                    ]
                                ],
                            ],
                           
'input_filter' => [
                               
'mgdpre_link' => [
                                   
'name' => 'mgdpre_link',
                                   
'required' => false,
                                   
'validators' => [
                                        [
                                           
'name' => 'IsInt',
                                           
'options' => [
                                               
'messages' => [
                                                    \
Laminas\I18n\Validator\IsInt::NOT_INT => 'tr_meliscore_gdpr_auto_delete_not_int',
                                                ]
                                            ]
                                        ]
                                    ],
                                   
'filters' => [
                                        [
'name' => 'StripTags'],
                                        [
'name' => 'StringTrim']
                                    ]
                                ]
                            ]
                        ],
                    ]
                ],
            ]
        ]
    ]
];