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

removeFieldDefinition() public method

See also: eZ\Publish\SPI\Persistence\Content\Type\Handler::removeFieldDefinition
public removeFieldDefinition ( $typeId, $status, $fieldDefinitionId )
    public function removeFieldDefinition($typeId, $status, $fieldDefinitionId)
    {
        $this->logger->logCall(__METHOD__, array('type' => $typeId, 'status' => $status, 'field' => $fieldDefinitionId));
        $this->persistenceHandler->contentTypeHandler()->removeFieldDefinition($typeId, $status, $fieldDefinitionId);
        if ($status === Type::STATUS_DEFINED) {
            $this->cache->clear('contentType', $typeId);
            $this->cache->clear('searchableFieldMap');
        }
    }