Skip to content
Snippets Groups Projects
Commit cce51ccf authored by catch's avatar catch
Browse files

Issue #2360647 by quietone, alexpott, Manuel Garcia, jhodgdon: Documentation...

Issue #2360647 by quietone, alexpott, Manuel Garcia, jhodgdon: Documentation in ConfigDependencyManager conflates plugin dependencies and config dependencies

(cherry picked from commit 3219336f)
parent b8c27098
No related branches found
No related tags found
10 merge requests!10602Issue #3438769 by vinmayiswamy, antonnavi, michelle, amateescu: Sub workspace does not clear,!10301Issue #3469309 by mstrelan, smustgrave, moshe weitzman: Use one-time login...,!10187Issue #3487488 by dakwamine: ExtensionMimeTypeGuesser::guessMimeType must support file names with "0" (zero) like foo.0.zip,!9929Issue #3445469 by pooja_sharma, smustgrave: Add additional test coverage for...,!9787Resolve issue 3479427 - bootstrap barrio issue under Windows,!9742Issue #3463908 by catch, quietone: Split OptionsFieldUiTest into two,!9526Issue #3458177 by mondrake, catch, quietone, godotislate, longwave, larowlan,...,!6502Draft: Resolve #2938524 "Plach testing issue",!38582585169-10.1.x,!3226Issue #2987537: Custom menu link entity type should not declare "bundle" entity key
Pipeline #237147 passed with warnings
Pipeline: drupal

#237171

    Pipeline: drupal

    #237161

      Pipeline: drupal

      #237155

        ......@@ -61,10 +61,20 @@
        * dependencies. Implementations should call the base class implementation to
        * inherit the generic functionality.
        *
        * Classes for configurable plugins are a special case. They can either declare
        * their configuration dependencies using the calculateDependencies() method
        * described in the paragraph above, or if they have only static dependencies,
        * these can be declared using the 'config_dependencies' annotation key.
        * Some configuration entities have dependencies from plugins and third-party
        * settings; these dependencies can be collected by
        * \Drupal\Core\Config\Entity\ConfigEntityBase::calculateDependencies().
        * Entities with third-party settings need to implement
        * \Drupal\Core\Config\Entity\ThirdPartySettingsInterface in order to trigger
        * this generic dependency collection. Entities with plugin dependencies need to
        * implement \Drupal\Core\Entity\EntityWithPluginCollectionInterface; this
        * causes the base calculateDependencies() method to add the plugins' providers
        * as dependencies, as well as dependencies declared in the
        * "config_dependencies" key from the plugins' definitions. In addition, plugins
        * that implement \Drupal\Component\Plugin\ConfigurablePluginInterface can
        * declare additional dependencies using
        * \Drupal\Component\Plugin\DependentPluginInterface::calculateDependencies(),
        * and these will also be collected by the base method.
        *
        * If an extension author wants a configuration entity to depend on something
        * that is not calculable then they can add these dependencies to the enforced
        ......@@ -112,6 +122,7 @@
        * @see \Drupal\Core\Config\Entity\ConfigEntityInterface::getDependencies()
        * @see \Drupal\Core\Config\Entity\ConfigEntityInterface::onDependencyRemoval()
        * @see \Drupal\Core\Config\Entity\ConfigEntityBase::addDependency()
        * @see \Drupal\Core\Config\Entity\ConfigEntityBase::calculateDependencies()
        * @see \Drupal\Core\Config\ConfigInstallerInterface::installDefaultConfig()
        * @see \Drupal\Core\Config\ConfigManagerInterface::uninstall()
        * @see \Drupal\Core\Config\Entity\ConfigEntityDependency
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Finish editing this message first!
        Please register or to comment