eZ\Publish\Core\Persistence\Cache\ContentTypeHandler::link PHP Method

    public function link($groupId, $typeId, $status)
    {
        $this->logger->logCall(__METHOD__, array('group' => $groupId, 'type' => $typeId, 'status' => $status));
        $return = $this->persistenceHandler->contentTypeHandler()->link($groupId, $typeId, $status);
        if ($status === Type::STATUS_DEFINED) {
            $this->cache->clear('contentType', $typeId);
        }
        return $return;
    }