本文整理匯總了PHP中Drupal\Core\Plugin\DefaultPluginManager::clearCachedDefinitions方法的典型用法代碼示例。如果您正苦於以下問題:PHP DefaultPluginManager::clearCachedDefinitions方法的具體用法?PHP DefaultPluginManager::clearCachedDefinitions怎麽用?PHP DefaultPluginManager::clearCachedDefinitions使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Drupal\Core\Plugin\DefaultPluginManager
的用法示例。
在下文中一共展示了DefaultPluginManager::clearCachedDefinitions方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: clearCachedDefinitions
/**
* {@inheritdoc}
*/
public function clearCachedDefinitions()
{
parent::clearCachedDefinitions();
$this->clearCachedBundles();
$this->clearCachedFieldDefinitions();
$this->classNameEntityTypeMap = array();
$this->handlers = array();
}
示例2: clearCachedDefinitions
/**
* {@inheritdoc}
*/
public function clearCachedDefinitions()
{
parent::clearCachedDefinitions();
$this->prototypes = array();
}
示例3: clearCachedDefinitions
/**
* {@inheritdoc}
*/
public function clearCachedDefinitions()
{
parent::clearCachedDefinitions();
$this->breakpointsByGroup = NULL;
$this->instances = array();
}
示例4: clearCachedDefinitions
/**
* {@inheritdoc}
*/
public function clearCachedDefinitions()
{
parent::clearCachedDefinitions();
$this->clearCachedBundles();
$this->clearCachedFieldDefinitions();
}
示例5: clearCachedDefinitions
/**
* {@inheritdoc}
*/
public function clearCachedDefinitions()
{
$this->elementInfo = NULL;
$this->cacheTagInvalidator->invalidateTags(['element_info_build']);
parent::clearCachedDefinitions();
}
示例6: clearCachedDefinitions
/**
* {@inheritdoc}
*/
public function clearCachedDefinitions()
{
parent::clearCachedDefinitions();
$this->handlers = [];
}