Skip to content

Title and content attributes addition#5

Open
coreylafferty wants to merge 2 commits intodrupal-pattern-lab:masterfrom
coreylafferty:title-and-content-attributes-addition
Open

Title and content attributes addition#5
coreylafferty wants to merge 2 commits intodrupal-pattern-lab:masterfrom
coreylafferty:title-and-content-attributes-addition

Conversation

@coreylafferty
Copy link
Copy Markdown

Since all templates have access to attributes, title_attributes and content_attributes, this PR updates the add_attributes function to take an optional parameter specifying either 'attributes', 'title_attributes' or 'content_attributes' (with the default remaining 'attributes') and add to that variable instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant