MetaModels\DcGeneral\Events\Table\FilterSetting\Subscriber::getMetaModel PHP Метод

getMetaModel() публичный Метод

Retrieve the MetaModel attached to the model filter setting.
public getMetaModel ( ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model ) : MetaModels\IMetaModel
$model ContaoCommunityAlliance\DcGeneral\Data\ModelInterface The model for which to retrieve the MetaModel.
Результат MetaModels\IMetaModel
    public function getMetaModel(ModelInterface $model)
    {
        $filterSetting = $this->getServiceContainer()->getFilterFactory()->createCollection($model->getProperty('fid'));
        return $filterSetting->getMetaModel();
    }