Disable an include type

        :param identifier: module or name of the include type
        :param children_only: disable the include type only for child processes, not the current process

        The ``identifier`` can be specified in multiple ways to disable an include type:

        **module** (``include.files`` or ``include.mount.files``)
            The base module implementing the include type.
            These modules have a ``module.IMPORT_PATH`` attribute.

        **implementation path** (``"include.files"``)
            Import path of the module implementing the include type.

        **mount path** (``"include.mount.files"``)
            Mount path of the module implementing the include type.

        **short path** (``"files"``)
            Relative path of the module implementing the include type.

def disable(self, identifier, children_only=False):
        """
        Disable an include type

        :param identifier: module or name of the include type
        :param children_only: disable the include type only for child processes, not the current process

        The ``identifier`` can be specified in multiple ways to disable an include type:

        **module** (``include.files`` or ``include.mount.files``)
            The base module implementing the include type.
            These modules have a ``module.IMPORT_PATH`` attribute.

        **implementation path** (``"include.files"``)
            Import path of the module implementing the include type.

        **mount path** (``"include.mount.files"``)
            Mount path of the module implementing the include type.

        **short path** (``"files"``)
            Relative path of the module implementing the include type.
        """
        import_path = self._identifier2import_path(identifier=identifier)
        if not children_only and import_path not in self._disabled:
            self._disable_path(import_path)
            self._disabled.add(import_path)
        if import_path not in self._children_disabled:
            self._children_disabled.add(import_path)
            self._write_child_disabled()