Just a curiosity, I've got a D8 sub theme that I'd like to control some specific content for. Part of that content is 3 links on the main menu that are only relevant if this theme is used. I thought maybe the theme install worked similar to the module install and process a .links.menu.yml file if one existed in the theme.
Anyway, curious if this is supported or not and if it is, what I may be doing wrong. Thanks
I have user created content. I use the content-moderation plugin, so a user can update his nodes but the update will only be published after moderation from an editor. I like to display a little batch (has new unpublished version) for the user on his nodes, to give him an information about the moderation state.
I know, I can get a moderation state via $node->moderation_state->value; in preprocess_node_function. But this value ignores the last unmoderated revision and says always "published",
I recently found out that Foundation 6 uses Angular instead of JQuery. This has thrown me for a bit of a loop.
I was able to install AngularJS into my D8 site. But, I need some guidance because I am weak when it comes to Javascript. I have been searching through different posts inside and outside of drupal.org and none seems to be on target with AngularJS, D8 and Foundation 6.