Initial commit

This commit is contained in:
2021-03-23 13:54:38 +01:00
commit 82b142ff95
16941 changed files with 2617212 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace Thelia\Model;
use Thelia\Model\Base\ModuleHook as BaseModuleHook;
class ModuleHook extends BaseModuleHook
{
use \Thelia\Model\Tools\ModelEventDispatcherTrait;
use \Thelia\Model\Tools\PositionManagementTrait;
const MAX_POSITION = 1000;
/**
* Calculate next position relative to our default category
*/
protected function addCriteriaToPositionQuery($query)
{
$query->filterByHookId($this->getHookId());
}
}