Commit 7613a12a authored by Dainis Abols's avatar Dainis Abols
Browse files

Formatting fixes and removed dead code

parent 936f1fda
......@@ -17,13 +17,3 @@ $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['lucontacts_p
'lucontacts_pi1',
'FILE:EXT:lu_contacts/Configuration/FlexForms/pluginOptions.xml'
);
// Adds custom image ratios
//$GLOBALS['TCA']['sys_file_reference']['columns']['crop']['config']['ratios'] = [
// '2.3333333333333333' => '21:9',
// '1.7777777777777777' => '16:9',
//// '1.3333333333333333' => '4:3',
//// '0.71428571428571' => '5:7',
// '1' => '1:1',
// 'NaN' => 'Free',
//];
#
Main
mod
config
mod
{
wizards.newContentElement.wizardItems.plugins
{
elements
{
lu_contacts
{
iconIdentifier = lu - contacts
title = LLL
:
EXT:lu_contacts / Resources / Private / Language / locallang.xlf
:
plugin.title
description = LLL
:
EXT:lu_contacts / Resources / Private / Language / locallang.xlf
:
plugin.description
tt_content_defValues
{
# Main mod config
mod {
wizards.newContentElement.wizardItems.plugins {
elements {
lu_contacts {
iconIdentifier = lu-contacts
title = LLL:EXT:lu_contacts/Resources/Private/Language/locallang.xlf:plugin.title
description = LLL:EXT:lu_contacts/Resources/Private/Language/locallang.xlf:plugin.description
tt_content_defValues {
CType = list
list_type = lucontacts_pi1
}
}
}
show =
*
show = *
}
}
......@@ -9,10 +9,10 @@ call_user_func(
'Lu.LuContacts',
'Pi1',
[
\Lu\LuContacts\Controller\ContactsController::class => 'list, person',
\Lu\LuContacts\Controller\ContactsController::class => 'list,person',
],
[
\Lu\LuContacts\Controller\ContactsController::class => 'list, person',
\Lu\LuContacts\Controller\ContactsController::class => 'list,person',
]
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment