Jarves\ContentTypes\TypePlugin::setContent PHP Метод

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

public setContent ( Jarves\Model\ContentInterface $content )
$content Jarves\Model\ContentInterface
    public function setContent(ContentInterface $content)
    {
        parent::setContent($content);
        $this->plugin = json_decode($content->getContent(), 1);
        $this->bundleName = $this->plugin['bundle'] ?: $this->plugin['module'];
        //module for BC
    }