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
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;
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/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',
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:
{"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/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php
index a68c3c8..cd89b77 100644
--- a/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php
+++ b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php
@@ -6,6 +6,7 @@
use Drupal\Core\Form\FormStateInterface;
use Drupal\taxonomy\Entity\Term;
use Drupal\taxonomy\TermStorageInterface;
+use Drupal\taxonomy\VocabularyInterface;
use Drupal\taxonomy\VocabularyStorageInterface;
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library name="PHP">
<CLASSES>
<root url="file://$USER_HOME$/Sites/thr_thrillist/web/core/includes" />
name: Modal Form Example
type: module
description: 'Modal Form Example module'
package: Example
version: VERSION
core: 8.x
[{"pointer": {"content_type": "article", "id": "4", "uri": "http://news.nationalgeographic.com/2016/04/160427-spacex-mars-red-dragon-china-mission/"}, "title": "Space X planea enviar una nave espacial a Marte en 2018", "abstract": "La compa\u00f1\u00eda pretende enviar versiones modificadas de sus c\u00e1psulas \u201cDrag\u00f3n\u201d al planeta rojo como parte de su meta a largo plazo de llevar humanos a Marte.", "created_at": "2016-10-01T12:16:28.214365", "last_modified_datetime": "2016-10-01T12:16:28.214365", "publication_datetime": "2016-10-01T12:16:28.214365", "keywords": ["spacex", " Marte", " Nave espacial"], "meta": {"domain": "SPACE", "is_deleted": false, "lastUpdate": "2016-10-01T12:16:28.214365"}, "body": "\nEl fundador de SpaceX, Elon Musk, se ha hecho famoso por decir que quiere morir en Marte- no en el impacto. A d\u00eda de hoy, la compa\u00f1\u00eda de vuelos espaciales dio a conocer su intenci\u00f3n de comenzar a enviar la nave Red Dragon al planeta rojo en 2018. Aunque los vuelos iniciales
http://news.nationalgeographic.com/2016/04/160427-spacex-mars-red-dragon-china-mission/|/2016/10/space-x-planea-enviar-una-nave-espacial-marte-en-2018
http://news.nationalgeographic.com/2016/05/160502-mars-water-boil-sand-gullies-slope-lineae-space/|/2016/10/la-arena-de-marte-puede-estar-hirviendo-presta-atencion-al-mecanismo-de-explosion
http://news.nationalgeographic.com/2016/03/160324-mars-nasa-gravity-map-space-science/|/2016/10/tres-cosas-geniales-que-hemos-aprendido-del-mapa-gravitatorio-de-marte-de-la-nasa
http://news.nationalgeographic.com/2015/10/151002-mars-mission-nasa-return-space/|/2016/10/como-nos-iremos-de-marte
http://news.nationalgeographic.com/2016/05/160519-mars-missions-orbits-lockheed-martin-space-science/|/2016/10/queremos-humanos-en-marte
http://news.nationalgeographic.com/2016/05/160520-watch-mars-opposition-biggest-brightest-planets-astronomy/|/2016/10/mira-marte-en-su-momento-mas-grande-y-brillante-de-la-ultima-decada
http://news.nationalgeographic.com/2016/04/ice-lake-suwa-japan-tor