Initial commit

This commit is contained in:
2021-01-14 18:04:26 +01:00
commit 9b4d5e339b
3786 changed files with 440841 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());
}
}