[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 1797 lines (58 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
hasBlockType(blockType) X-Ref |
No description |
isRequestingDownloadableBlocks(state, filterValue) X-Ref |
Returns true if application is requesting for downloadable blocks. param: {Object} state Global application state. param: {string} filterValue Search string. return: {boolean} Whether a request is in progress for the blocks list. |
getDownloadableBlocks(state, filterValue) X-Ref |
Returns the available uninstalled blocks. param: {Object} state Global application state. param: {string} filterValue Search string. return: {Array} Downloadable blocks. |
getInstalledBlockTypes(state) X-Ref |
Returns the block types that have been installed on the server in this session. param: {Object} state Global application state. return: {Array} Block type items |
isInstalling(state, blockId) X-Ref |
Returns true if a block plugin install is in progress. param: {Object} state Global application state. param: {string} blockId Id of the block. return: {boolean} Whether this block is currently being installed. |
getErrorNotices(state) X-Ref |
Returns all block error notices. param: {Object} state Global application state. return: {Object} Object with error notices. |
getErrorNoticeForBlock(state, blockId) X-Ref |
Returns the error notice for a given block. param: {Object} state Global application state. param: {string} blockId The ID of the block plugin. eg: my-block return: {string|boolean} The error text, or false if no error. |
getPluginUrl(block) X-Ref |
Get the plugin's direct API link out of a block-directory response. param: {Object} block The block object return: {string} The plugin URL, if exists. |
fetchDownloadableBlocks(filterValue) X-Ref |
Returns an action object used in signalling that the downloadable blocks have been requested and are loading. param: {string} filterValue Search string. return: {Object} Action object. |
receiveDownloadableBlocks(downloadableBlocks, filterValue) X-Ref |
Returns an action object used in signalling that the downloadable blocks have been updated. param: {Array} downloadableBlocks Downloadable blocks. param: {string} filterValue Search string. return: {Object} Action object. |
addInstalledBlockType(item) X-Ref |
Returns an action object used to add a block type to the "newly installed" tracking list. param: {Object} item The block item with the block id and name. return: {Object} Action object. |
removeInstalledBlockType(item) X-Ref |
Returns an action object used to remove a block type from the "newly installed" tracking list. param: {string} item The block item with the block id and name. return: {Object} Action object. |
setIsInstalling(blockId, isInstalling) X-Ref |
Returns an action object used to indicate install in progress. param: {string} blockId param: {boolean} isInstalling return: {Object} Action object. |
setErrorNotice(blockId, message) X-Ref |
Sets an error notice to be displayed to the user for a given block. param: {string} blockId The ID of the block plugin. eg: my-block param: {string} message The message shown in the notice. param: {boolean} isFatal Whether the user can recover from the error. return: {Object} Action object. |
clearErrorNotice(blockId) X-Ref |
Sets the error notice to empty for specific block. param: {string} blockId The ID of the block plugin. eg: my-block return: {Object} Action object. |
AutoBlockUninstaller() X-Ref |
Internal dependencies |
_extends() X-Ref |
No description |
Icon(_ref) X-Ref |
Return an SVG icon. param: {IconProps} props icon is the SVG component to render return: {JSX.Element} Icon component |
Stars(_ref) X-Ref |
No description |
DownloadableBlockIcon(_ref) X-Ref |
WordPress dependencies |
getDownloadableBlockLabel(_ref, _ref2) X-Ref |
No description |
DownloadableBlockListItem(_ref3) X-Ref |
No description |
DownloadableBlocksList(_ref) X-Ref |
No description |
DownloadableBlocksInserterPanel(_ref) X-Ref |
No description |
DownloadableBlocksNoResults() X-Ref |
No description |
DownloadableBlocksPanel(_ref) X-Ref |
No description |
getInstallableBlocks(term) X-Ref |
No description |
InserterMenuDownloadableBlocksPanel() X-Ref |
No description |
CompactList(_ref) X-Ref |
Internal dependencies |
InstalledBlocksPrePublishPanel() X-Ref |
No description |
InstallButton(_ref) X-Ref |
Internal dependencies |
Generated: Tue Oct 15 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |