[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 1750 lines (65 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
isEditingPattern(state = {}, action) X-Ref |
WordPress dependencies |
cloneBlocksAndRemoveBindings(blocks) X-Ref |
No description |
setEditingPattern(clientId, isEditing) X-Ref |
Returns an action descriptor for SET_EDITING_PATTERN action. return: {Object} Action descriptor. param: {string} clientId The clientID of the pattern to target. param: {boolean} isEditing Whether the block should be in editing state. |
selectors_isEditingPattern(state, clientId) X-Ref |
Returns true if pattern is in the editing state. return: {boolean} Whether the pattern is in the editing state. param: {Object} state Global application state. param: {number} clientId the clientID of the block. |
isOverridableBlock(block) X-Ref |
Determines whether a block is overridable. return: {boolean} `true` if a block is overridable, `false` otherwise. param: {WPBlock} block The block to test. |
hasOverridableBlocks(blocks) X-Ref |
Determines whether the blocks list has overridable blocks. return: {boolean} `true` if the list has overridable blocks, `false` otherwise. param: {WPBlock[]} blocks The blocks list. |
OverridesPanel() X-Ref |
No description |
CategorySelector({categoryTerms,onChange,categoryMap}) X-Ref |
No description |
handleChange(termNames) X-Ref |
No description |
useAddPatternCategory() X-Ref |
Helper hook that creates a Map with the core and user patterns categories and removes any duplicates. It's used when we need to create new user categories when creating or importing patterns. This hook also provides a function to find or create a pattern category. return: {Object} The merged categories map and the callback function to find or create a category. |
CreatePatternModal({className = 'patterns-menu-items__convert-modal',modalTitle,...restProps}) X-Ref |
No description |
CreatePatternModalContents({confirmLabel = (0,external_wp_i18n_namespaceObject.__) X-Ref |
No description |
getTermLabels(pattern, categories) X-Ref |
No description |
useDuplicatePatternProps({pattern,onSuccess}) X-Ref |
No description |
DuplicatePatternModal({pattern,onClose,onSuccess}) X-Ref |
No description |
RenamePatternModal({onClose,onError,onSuccess,pattern,...props}) X-Ref |
No description |
PatternConvertButton({clientIds,rootClientId,closeBlockSettingsMenu}) X-Ref |
No description |
PatternsManageButton({clientId}) X-Ref |
No description |
PatternsMenuItems({rootClientId}) X-Ref |
No description |
RenamePatternCategoryModal({category,existingCategories,onClose,onError,onSuccess,...props}) X-Ref |
No description |
AllowOverridesModal({placeholder,initialName = '',onClose,onSave}) X-Ref |
No description |
DisallowOverridesModal({onClose,onSave}) X-Ref |
No description |
PatternOverridesControls({attributes,setAttributes,name: blockName}) X-Ref |
No description |
updateBindings(isChecked, customName) X-Ref |
No description |
ResetOverridesControl(props) X-Ref |
No description |
onClick() X-Ref |
No description |
PatternOverridesToolbarIndicator({clientIds}) X-Ref |
No description |
PatternOverridesBlockControls() X-Ref |
No description |
Generated : Sat Nov 23 08:20:01 2024 | Cross-referenced by PHPXref |