Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Conversation

@imsharukh1994
Copy link

Added new functionality to the Layout class:

  • setActiveLayout: Allows setting the active layout dynamically and validates layout names.
  • getLayoutMetadata: Retrieves metadata for a specified layout (placeholder implementation for now).
  • getLayoutFilesByType: Fetches files of a specific type (e.g., .css, .js) from all layout directories.
  • validateLayout: Checks if a layout name is valid.

These enhancements improve the flexibility and functionality of layout management.

Description

Testing

Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

Added new functionality to the Layout class:
- `setActiveLayout`: Allows setting the active layout dynamically and validates layout names.
- `getLayoutMetadata`: Retrieves metadata for a specified layout (placeholder implementation for now).
- `getLayoutFilesByType`: Fetches files of a specific type (e.g., .css, .js) from all layout directories.
- `validateLayout`: Checks if a layout name is valid.

These enhancements improve the flexibility and functionality of layout management.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant