Skip to content

Instantly share code, notes, and snippets.

View edwardchan's full-sized avatar

Edward Chan edwardchan

  • Red Hat
  • New York
View GitHub Profile
{"swagger":"2.0","schemes":["http"],"info":{"description":"@todo update","title":"Thrillist - API","version":"No API version"},"paths":{"\/node\/{node}":{"get":{"parameters":[{"name":"_format","in":"query","type":"string","enum":["json"],"required":true,"description":"Request format","default":"json"},{"name":"node","in":"path","required":true,"type":"string","description":"The nid,id, of the node."},{"name":"X-CSRF-Token","type":"string","in":"header","required":true}],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#\/definitions\/node:article"}},"400":{"description":"Bad request","schema":{"type":"object","properties":{"error":{"type":"string","example":"Bad data"}}}},"500":{"description":"Internal server error.","schema":{"type":"object","properties":{"message":{"type":"string","example":"Internal server error."}}}}},"tags":["node"],"summary":"Get a Content","operationId":"entity:node:GET","schemes":["http"],"security":[]}}},"host":"thrillist.mcdev","basePath":"","securityDefini
diff --git a/eloqua_rest_api.info.yml b/eloqua_rest_api.info.yml
index f730407..db6dd53 100644
--- a/eloqua_rest_api.info.yml
+++ b/eloqua_rest_api.info.yml
@@ -4,3 +4,6 @@ package: Eloqua
core: 8.x
configure: eloqua_rest_api.admin_settings
type: module
+
+dependencies:
diff --git a/src/Form/EloquaRestApiAdminSettings.php b/src/Form/EloquaRestApiAdminSettings.php
index 9b79416..1256071 100644
--- a/src/Form/EloquaRestApiAdminSettings.php
+++ b/src/Form/EloquaRestApiAdminSettings.php
@@ -67,7 +67,7 @@ class EloquaRestApiAdminSettings extends ConfigFormBase {
];
$form['eloqua_rest_api_login_password'] = [
- '#type' => 'textfield',
+ '#type' => 'password',
We can't make this file beautiful and searchable because it's too large.
url,"Page Title","Meta Description","Meta Keywords","Body Copy","Related Links",Images,Files
/about-cas,"About CAS","This page includes information about CAS,including links to the CAS FAQs,Careers,directions to the Columbus facility,CAS Quotes,and CAS History.","CAS,most complete and effective digital information environment,team of scientists,scientific research and discovery,provides pathways to published research","
<h2>We're the solutions behind the science</h2> <p><strong>At CAS, we organize, analyze, and share information that drives scientific discovery. We facilitate your research to help fuel your innovation.</strong></p> <p><strong/></p> <script src=""//embed2.ramp.com/amd.js"" data-ramp-item-id=""112566068"" data-ramp-widget=""500021"" data-ramp-api-key=""oQ61x5GrtAjOC2mHrl3WYMmIYXvwxzyj""/><p> </p> <p><strong><a href=""/sites/default/files/File Library/News/ColumbusCEO_1116.pdf"" returnvalue=""/sites/default/files/File Library/News/ColumbusCEO_1116.pdf,,File,_self,,,false,false,false,false,2d75
diff --git a/core/modules/menu_ui/menu_ui.module b/core/modules/menu_ui/menu_ui.module
index cb1e85307f..28dd17dcd2 100644
--- a/core/modules/menu_ui/menu_ui.module
+++ b/core/modules/menu_ui/menu_ui.module
@@ -16,6 +16,7 @@
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\menu_link_content\Entity\MenuLinkContent;
+use Drupal\node\Entity\NodeType;
use Drupal\node\NodeTypeInterface;