GitHub PullRequestReviewCommentEvent at 2014-06-08 01:49:03
Repository: drupal
Actor: pwolanin
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/larowlan/drupal/pulls/comments/13522258","id":13522258,"diff_hunk":"@@ -0,0 +1,1215 @@\n+<?php\n+\n+/**\n+ * @file\n+ * Contains \\Drupal\\Core\\Menu\\MenuLinkTree.\n+ */\n+\n+namespace Drupal\\Core\\Menu;\n+\n+use Drupal\\Component\\Plugin\\Exception\\PluginException;\n+use Drupal\\Component\\Plugin\\Exception\\PluginNotFoundException;\n+use Drupal\\Component\\Utility\\NestedArray;\n+use Drupal\\Component\\Utility\\String;\n+use Drupal\\Component\\Utility\\Unicode;\n+use Drupal\\Core\\Access\\AccessManager;\n+use Drupal\\Core\\Cache\\Cache;\n+use Drupal\\Core\\Cache\\CacheBackendInterface;\n+use Drupal\\Core\\Config\\ConfigFactoryInterface;\n+use Drupal\\Core\\Entity\\EntityManagerInterface;\n+use Drupal\\Core\\Extension\\ModuleHandlerInterface;\n+use Drupal\\Core\\Language\\LanguageManagerInterface;\n+use Drupal\\Core\\Plugin\\Discovery\\ContainerDerivativeDiscoveryDecorator;\n+use Drupal\\Core\\Plugin\\Discovery\\YamlDiscovery;\n+use Drupal\\Core\\Plugin\\Factory\\ContainerFactory;\n+use Drupal\\Core\\Routing\\RouteProviderInterface;\n+use Drupal\\Core\\Session\\AccountInterface;\n+use Symfony\\Cmf\\Component\\Routing\\RouteObjectInterface;\n+use Symfony\\Component\\HttpFoundation\\RequestStack;\n+\n+/**\n+ * Manages discovery, instantiation, and tree building of menu link plugins.\n+ *\n+ * This manager finds plugins that are rendered as menu links.\n+ */\n+class MenuLinkTree implements MenuLinkTreeInterface {\n+\n+  /**\n+   * {@inheritdoc}\n+   */\n+  protected $defaults = array(\n+    // (required) The name of the menu for this link.\n+    'menu_name' => 'tools',\n+    // (required) The name of the route this links to, unless it's external.\n+    'route_name' => '',\n+    // Parameters for route variables when generating a link.\n+    'route_parameters' => array(),\n+    // The external URL if this link has one (required if route_name is empty).\n+    'url' => '',\n+    // The static title for the menu link.\n+    'title' => '',\n+    'title_arguments' => array(),\n+    'title_context' => '',\n+    // The description.\n+    'description' => '',\n+    // The plugin ID of the parent link (or NULL for a top-level link).\n+    'parent' => '',\n+    // The weight of the link.\n+    'weight' => 0,\n+    // The default link options.\n+    'options' => array(),\n+    'expanded' => 0,\n+    'hidden' => 0,\n+    // Flag for whether this plugin was discovered. Should be set to 0 or NULL\n+    // for definitions that are added via a direct save.\n+    'discovered' => 0,\n+    'provider' => '',\n+    'metadata' => array(),\n+    // Default class for local task implementations.\n+    'class' => 'Drupal\\Core\\Menu\\MenuLinkDefault',\n+    'form_class' => 'Drupal\\Core\\Menu\\Form\\MenuLinkDefaultForm',\n+    // The plugin id. Set by the plugin system based on the top-level YAML key.\n+    'id' => '',\n+  );\n+\n+  /**\n+   * The object that discovers plugins managed by this manager.\n+   *\n+   * @var \\Drupal\\Component\\Plugin\\Discovery\\DiscoveryInterface\n+   */\n+  protected $discovery;\n+\n+  /**\n+   * The object that instantiates plugins managed by this manager.\n+   *\n+   * @var \\Drupal\\Component\\Plugin\\Factory\\FactoryInterface\n+   */\n+  protected $factory;\n+\n+  /**\n+   * The language manager.\n+   *\n+   * @var \\Drupal\\Core\\Language\\LanguageManagerInterface\n+   */\n+  protected $languageManager;\n+\n+  /**\n+   * Cache backend instance for the extracted tree data.\n+   *\n+   * @var \\Drupal\\Core\\Cache\\CacheBackendInterface\n+   */\n+  protected $treeCacheBackend;\n+\n+  /**\n+   * The menu link tree storage.\n+   *\n+   * @var \\Drupal\\Core\\Menu\\MenuTreeStorageInterface\n+   */\n+  protected $treeStorage;\n+\n+  /**\n+   * Service providing overrides for static links\n+   *\n+   * @var \\Drupal\\Core\\Menu\\StaticMenuLinkOverridesInterface\n+   */\n+  protected $overrides;\n+\n+  /**\n+   * The request stack.\n+   *\n+   * @var \\Symfony\\Component\\HttpFoundation\\RequestStack\n+   */\n+  protected $requestStack;\n+\n+  /**\n+   * The plugin instances.\n+   *\n+   * @var array\n+   */\n+  protected $instances = array();\n+\n+  /**\n+   * The statically cached definitions.\n+   *\n+   * @var array\n+   */\n+  protected $definitions = array();\n+\n+  /**\n+   * The route provider to load routes by name.\n+   *\n+   * @var \\Drupal\\Core\\Routing\\RouteProviderInterface\n+   */\n+  protected $routeProvider;\n+\n+  /**\n+   * The access manager.\n+   *\n+   * @var \\Drupal\\Core\\Access\\AccessManager\n+   */\n+  protected $accessManager;\n+\n+  /**\n+   * The current user.\n+   *\n+   * @var \\Drupal\\Core\\Session\\AccountInterface\n+   */\n+  protected $account;\n+\n+  /**\n+   * The entity manager.\n+   *\n+   * @var \\Drupal\\Core\\Entity\\EntityManagerInterface\n+   */\n+  protected $entityManager;\n+\n+  /**\n+   * The module handler.\n+   *\n+   * @var \\Drupal\\Core\\Extension\\ModuleHandlerInterface\n+   */\n+  protected $moduleHandler;\n+\n+  /**\n+   * The configuration factory.\n+   *\n+   * @var \\Drupal\\Core\\Config\\ConfigFactoryInterface\n+   */\n+  protected $configFactory;\n+\n+  /**\n+   * Stores the menu tree used by the doBuildTree method, keyed by a cache ID.\n+   *\n+   * This cache ID is built using the $menu_name, the current language and\n+   * some parameters passed into an entity query.\n+   */\n+  protected $menuTree;\n+\n+  /**\n+   * Stores the menu tree data on the current page keyed by a cache ID.\n+   *\n+   * This contains less information than a tree built with buildAllData.\n+   *\n+   * @var array\n+   */\n+  protected $menuPageTrees;\n+\n+  /**\n+   * Stores the preferred menu link keyed by route_name + parameters.\n+   *\n+   * @var array\n+   */\n+  protected $preferredLinks = array();\n+\n+  /**\n+   * Stores the active menu names.\n+   *\n+   * @var array\n+   */\n+  protected $activeMenus = array();\n+\n+  /**\n+   * Stores the parameters for buildAllData keyed by cached ID.\n+   *\n+   * @var array\n+   */\n+  protected $buildAllDataParameters = array();\n+\n+  /**\n+   * Constructs a \\Drupal\\Core\\Menu\\MenuLinkTree object.\n+   *\n+   * @param \\Drupal\\Core\\Menu\\MenuTreeStorageInterface $tree_storage\n+   *   The menu link tree storage.\n+   * @param \\Drupal\\Core\\Menu\\StaticMenuLinkOverridesInterface $overrides\n+   *   Service providing overrides for static links\n+   * @param \\Symfony\\Component\\HttpFoundation\\RequestStack $request_stack\n+   *   A request object for the controller resolver and finding the preferred\n+   *   menu and link for the current page.\n+   * @param \\Drupal\\Core\\Routing\\RouteProviderInterface $route_provider\n+   *   The route provider to load routes by name.\n+   * @param \\Drupal\\Core\\Extension\\ModuleHandlerInterface $module_handler\n+   *   The module handler.\n+   * @param \\Drupal\\Core\\Cache\\CacheBackendInterface $tree_cache_backend\n+   *   Cache backend instance for the extracted tree data.\n+   * @param \\Drupal\\Core\\Language\\LanguageManagerInterface $language_manager\n+   *   The language manager.\n+   * @param \\Drupal\\Core\\Access\\AccessManager $access_manager\n+   *   The access manager.\n+   * @param \\Drupal\\Core\\Session\\AccountInterface $account\n+   *   The current user.\n+   * @param \\Drupal\\Core\\Entity\\EntityManagerInterface $entity_manager\n+   *   The entity manager.\n+   * @param \\Drupal\\Core\\Config\\ConfigFactoryInterface $config_factory\n+   *   Configuration factory.\n+   */\n+  public function __construct(MenuTreeStorageInterface $tree_storage, StaticMenuLinkOverridesInterface $overrides, RequestStack $request_stack, RouteProviderInterface $route_provider, ModuleHandlerInterface $module_handler, CacheBackendInterface $tree_cache_backend, LanguageManagerInterface $language_manager, AccessManager $access_manager, AccountInterface $account, EntityManagerInterface $entity_manager, ConfigFactoryInterface $config_factory) {\n+    $this->treeStorage = $tree_storage;\n+    $this->overrides = $overrides;\n+    $this->factory = new ContainerFactory($this);\n+    $this->requestStack = $request_stack;\n+    $this->routeProvider = $route_provider;\n+    $this->accessManager = $access_manager;\n+    $this->account = $account;\n+    $this->moduleHandler = $module_handler;\n+    $this->treeCacheBackend = $tree_cache_backend;\n+    $this->languageManager = $language_manager;\n+    $this->entityManager = $entity_manager;\n+    $this->configFactory = $config_factory;\n+  }\n+\n+  /**\n+   * Performs extra processing on plugin definitions.\n+   *\n+   * By default we add defaults for the type to the definition. If a type has\n+   * additional processing logic they can do that by replacing or extending the\n+   * method.\n+   */\n+  protected function processDefinition(&$definition, $plugin_id) {\n+    $definition = NestedArray::mergeDeep($this->defaults, $definition);\n+    $definition['parent'] = (string) $definition['parent'];\n+    $definition['id'] = $plugin_id;\n+  }\n+\n+  /**\n+   * Instanciates the discovery.\n+   */\n+  protected function getDiscovery() {\n+    if (empty($this->discovery)) {\n+      $yaml = new YamlDiscovery('menu_links', $this->moduleHandler->getModuleDirectories());\n+      $this->discovery = new ContainerDerivativeDiscoveryDecorator($yaml);\n+    }\n+    return $this->discovery;\n+  }\n+\n+  /**\n+   * {@inheritdoc}\n+   */\n+  public function getDefinitions() {\n+    // Since this function is called rarely, instantiate the discovery here.\n+    $definitions = $this->getDiscovery()->getDefinitions();\n+\n+    $this->moduleHandler->alter('menu_links', $definitions);\n+\n+    foreach ($definitions as $plugin_id => &$definition) {\n+      $definition['id'] = $plugin_id;\n+      $this->processDefinition($definition, $plugin_id);\n+    }\n+\n+    // If this plugin was provided by a module that does not exist, remove the\n+    // plugin definition.\n+    foreach ($definitions as $plugin_id => $plugin_definition) {\n+      if (!empty($plugin_definition['provider']) && !$this->moduleHandler->moduleExists($plugin_definition['provider'])) {\n+        unset($definitions[$plugin_id]);\n+      }\n+      else {\n+        // Any link found here is flagged as discovered, so it can be purged\n+        // if it does exit in the future.","path":"core/lib/Drupal/Core/Menu/MenuLinkTree.php","position":306,"original_position":306,"commit_id":"3d090c6df78bbb148b052dc8153f0dec9be2e9d3","original_commit_id":"3d090c6df78bbb148b052dc8153f0dec9be2e9d3","user":{"login":"pwolanin","id":107691,"avatar_url":"https://avatars.githubusercontent.com/u/107691?","gravatar_id":"eb6b72455961592fb0b9441c58283faa","url":"https://api.github.com/users/pwolanin","html_url":"https://github.com/pwolanin","followers_url":"https://api.github.com/users/pwolanin/followers","following_url":"https://api.github.com/users/pwolanin/following{/other_user}","gists_url":"https://api.github.com/users/pwolanin/gists{/gist_id}","starred_url":"https://api.github.com/users/pwolanin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwolanin/subscriptions","organizations_url":"https://api.github.com/users/pwolanin/orgs","repos_url":"https://api.github.com/users/pwolanin/repos","events_url":"https://api.github.com/users/pwolanin/events{/privacy}","received_events_url":"https://api.github.com/users/pwolanin/received_events","type":"User","site_admin":false},"body":"fixing.","created_at":"2014-06-08T01:49:03Z","updated_at":"2014-06-08T01:49:03Z","html_url":"https://github.com/larowlan/drupal/pull/3#discussion_r13522258","pull_request_url":"https://api.github.com/repos/larowlan/drupal/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/larowlan/drupal/pulls/comments/13522258"},"html":{"href":"https://github.com/larowlan/drupal/pull/3#discussion_r13522258"},"pull_request":{"href":"https://api.github.com/repos/larowlan/drupal/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/larowlan/drupal/pulls/3","id":16852658,"html_url":"https://github.com/larowlan/drupal/pull/3","diff_url":"https://github.com/larowlan/drupal/pull/3.diff","patch_url":"https://github.com/larowlan/drupal/pull/3.patch","issue_url":"https://api.github.com/repos/larowlan/drupal/issues/3","number":3,"state":"open","title":"Menu links page 2","user":{"login":"larowlan","id":555254,"avatar_url":"https://avatars.githubusercontent.com/u/555254?","gravatar_id":"b606fc8ee1166e47132828c149118fef","url":"https://api.github.com/users/larowlan","html_url":"https://github.com/larowlan","followers_url":"https://api.github.com/users/larowlan/followers","following_url":"https://api.github.com/users/larowlan/following{/other_user}","gists_url":"https://api.github.com/users/larowlan/gists{/gist_id}","starred_url":"https://api.github.com/users/larowlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larowlan/subscriptions","organizations_url":"https://api.github.com/users/larowlan/orgs","repos_url":"https://api.github.com/users/larowlan/repos","events_url":"https://api.github.com/users/larowlan/events{/privacy}","received_events_url":"https://api.github.com/users/larowlan/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-06-07T08:31:17Z","updated_at":"2014-06-08T01:49:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4915afa1e44ccc7adfd16e5f581e2cda6550d2ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/larowlan/drupal/pulls/3/commits","review_comments_url":"https://api.github.com/repos/larowlan/drupal/pulls/3/comments","review_comment_url":"https://api.github.com/repos/larowlan/drupal/pulls/comments/{number}","comments_url":"https://api.github.com/repos/larowlan/drupal/issues/3/comments","statuses_url":"https://api.github.com/repos/larowlan/drupal/statuses/3d090c6df78bbb148b052dc8153f0dec9be2e9d3","head":{"label":"larowlan:menu-links-phase2-2256521","ref":"menu-links-phase2-2256521","sha":"3d090c6df78bbb148b052dc8153f0dec9be2e9d3","user":{"login":"larowlan","id":555254,"avatar_url":"https://avatars.githubusercontent.com/u/555254?","gravatar_id":"b606fc8ee1166e47132828c149118fef","url":"https://api.github.com/users/larowlan","html_url":"https://github.com/larowlan","followers_url":"https://api.github.com/users/larowlan/followers","following_url":"https://api.github.com/users/larowlan/following{/other_user}","gists_url":"https://api.github.com/users/larowlan/gists{/gist_id}","starred_url":"https://api.github.com/users/larowlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larowlan/subscriptions","organizations_url":"https://api.github.com/users/larowlan/orgs","repos_url":"https://api.github.com/users/larowlan/repos","events_url":"https://api.github.com/users/larowlan/events{/privacy}","received_events_url":"https://api.github.com/users/larowlan/received_events","type":"User","site_admin":false},"repo":{"id":16153531,"name":"drupal","full_name":"larowlan/drupal","owner":{"login":"larowlan","id":555254,"avatar_url":"https://avatars.githubusercontent.com/u/555254?","gravatar_id":"b606fc8ee1166e47132828c149118fef","url":"https://api.github.com/users/larowlan","html_url":"https://github.com/larowlan","followers_url":"https://api.github.com/users/larowlan/followers","following_url":"https://api.github.com/users/larowlan/following{/other_user}","gists_url":"https://api.github.com/users/larowlan/gists{/gist_id}","starred_url":"https://api.github.com/users/larowlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larowlan/subscriptions","organizations_url":"https://api.github.com/users/larowlan/orgs","repos_url":"https://api.github.com/users/larowlan/repos","events_url":"https://api.github.com/users/larowlan/events{/privacy}","received_events_url":"https://api.github.com/users/larowlan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/larowlan/drupal","description":"Development sandbox for working on Drupal 8","fork":true,"url":"https://api.github.com/repos/larowlan/drupal","forks_url":"https://api.github.com/repos/larowlan/drupal/forks","keys_url":"https://api.github.com/repos/larowlan/drupal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/larowlan/drupal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/larowlan/drupal/teams","hooks_url":"https://api.github.com/repos/larowlan/drupal/hooks","issue_events_url":"https://api.github.com/repos/larowlan/drupal/issues/events{/number}","events_url":"https://api.github.com/repos/larowlan/drupal/events","assignees_url":"https://api.github.com/repos/larowlan/drupal/assignees{/user}","branches_url":"https://api.github.com/repos/larowlan/drupal/branches{/branch}","tags_url":"https://api.github.com/repos/larowlan/drupal/tags","blobs_url":"https://api.github.com/repos/larowlan/drupal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/larowlan/drupal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/larowlan/drupal/git/refs{/sha}","trees_url":"https://api.github.com/repos/larowlan/drupal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/larowlan/drupal/statuses/{sha}","languages_url":"https://api.github.com/repos/larowlan/drupal/languages","stargazers_url":"https://api.github.com/repos/larowlan/drupal/stargazers","contributors_url":"https://api.github.com/repos/larowlan/drupal/contributors","subscribers_url":"https://api.github.com/repos/larowlan/drupal/subscribers","subscription_url":"https://api.github.com/repos/larowlan/drupal/subscription","commits_url":"https://api.github.com/repos/larowlan/drupal/commits{/sha}","git_commits_url":"https://api.github.com/repos/larowlan/drupal/git/commits{/sha}","comments_url":"https://api.github.com/repos/larowlan/drupal/comments{/number}","issue_comment_url":"https://api.github.com/repos/larowlan/drupal/issues/comments/{number}","contents_url":"https://api.github.com/repos/larowlan/drupal/contents/{+path}","compare_url":"https://api.github.com/repos/larowlan/drupal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/larowlan/drupal/merges","archive_url":"https://api.github.com/repos/larowlan/drupal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/larowlan/drupal/downloads","issues_url":"https://api.github.com/repos/larowlan/drupal/issues{/number}","pulls_url":"https://api.github.com/repos/larowlan/drupal/pulls{/number}","milestones_url":"https://api.github.com/repos/larowlan/drupal/milestones{/number}","notifications_url":"https://api.github.com/repos/larowlan/drupal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/larowlan/drupal/labels{/name}","releases_url":"https://api.github.com/repos/larowlan/drupal/releases{/id}","created_at":"2014-01-22T21:43:32Z","updated_at":"2014-06-07T21:15:45Z","pushed_at":"2014-06-07T21:15:45Z","git_url":"git://github.com/larowlan/drupal.git","ssh_url":"git@github.com:larowlan/drupal.git","clone_url":"https://github.com/larowlan/drupal.git","svn_url":"https://github.com/larowlan/drupal","homepage":"http://drupal.org/","size":108831,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"8.x"}},"base":{"label":"larowlan:8.x","ref":"8.x","sha":"e0d17ee6b9def8e65286fbffbced4f7b332ba767","user":{"login":"larowlan","id":555254,"avatar_url":"https://avatars.githubusercontent.com/u/555254?","gravatar_id":"b606fc8ee1166e47132828c149118fef","url":"https://api.github.com/users/larowlan","html_url":"https://github.com/larowlan","followers_url":"https://api.github.com/users/larowlan/followers","following_url":"https://api.github.com/users/larowlan/following{/other_user}","gists_url":"https://api.github.com/users/larowlan/gists{/gist_id}","starred_url":"https://api.github.com/users/larowlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larowlan/subscriptions","organizations_url":"https://api.github.com/users/larowlan/orgs","repos_url":"https://api.github.com/users/larowlan/repos","events_url":"https://api.github.com/users/larowlan/events{/privacy}","received_events_url":"https://api.github.com/users/larowlan/received_events","type":"User","site_admin":false},"repo":{"id":16153531,"name":"drupal","full_name":"larowlan/drupal","owner":{"login":"larowlan","id":555254,"avatar_url":"https://avatars.githubusercontent.com/u/555254?","gravatar_id":"b606fc8ee1166e47132828c149118fef","url":"https://api.github.com/users/larowlan","html_url":"https://github.com/larowlan","followers_url":"https://api.github.com/users/larowlan/followers","following_url":"https://api.github.com/users/larowlan/following{/other_user}","gists_url":"https://api.github.com/users/larowlan/gists{/gist_id}","starred_url":"https://api.github.com/users/larowlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larowlan/subscriptions","organizations_url":"https://api.github.com/users/larowlan/orgs","repos_url":"https://api.github.com/users/larowlan/repos","events_url":"https://api.github.com/users/larowlan/events{/privacy}","received_events_url":"https://api.github.com/users/larowlan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/larowlan/drupal","description":"Development sandbox for working on Drupal 8","fork":true,"url":"https://api.github.com/repos/larowlan/drupal","forks_url":"https://api.github.com/repos/larowlan/drupal/forks","keys_url":"https://api.github.com/repos/larowlan/drupal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/larowlan/drupal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/larowlan/drupal/teams","hooks_url":"https://api.github.com/repos/larowlan/drupal/hooks","issue_events_url":"https://api.github.com/repos/larowlan/drupal/issues/events{/number}","events_url":"https://api.github.com/repos/larowlan/drupal/events","assignees_url":"https://api.github.com/repos/larowlan/drupal/assignees{/user}","branches_url":"https://api.github.com/repos/larowlan/drupal/branches{/branch}","tags_url":"https://api.github.com/repos/larowlan/drupal/tags","blobs_url":"https://api.github.com/repos/larowlan/drupal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/larowlan/drupal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/larowlan/drupal/git/refs{/sha}","trees_url":"https://api.github.com/repos/larowlan/drupal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/larowlan/drupal/statuses/{sha}","languages_url":"https://api.github.com/repos/larowlan/drupal/languages","stargazers_url":"https://api.github.com/repos/larowlan/drupal/stargazers","contributors_url":"https://api.github.com/repos/larowlan/drupal/contributors","subscribers_url":"https://api.github.com/repos/larowlan/drupal/subscribers","subscription_url":"https://api.github.com/repos/larowlan/drupal/subscription","commits_url":"https://api.github.com/repos/larowlan/drupal/commits{/sha}","git_commits_url":"https://api.github.com/repos/larowlan/drupal/git/commits{/sha}","comments_url":"https://api.github.com/repos/larowlan/drupal/comments{/number}","issue_comment_url":"https://api.github.com/repos/larowlan/drupal/issues/comments/{number}","contents_url":"https://api.github.com/repos/larowlan/drupal/contents/{+path}","compare_url":"https://api.github.com/repos/larowlan/drupal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/larowlan/drupal/merges","archive_url":"https://api.github.com/repos/larowlan/drupal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/larowlan/drupal/downloads","issues_url":"https://api.github.com/repos/larowlan/drupal/issues{/number}","pulls_url":"https://api.github.com/repos/larowlan/drupal/pulls{/number}","milestones_url":"https://api.github.com/repos/larowlan/drupal/milestones{/number}","notifications_url":"https://api.github.com/repos/larowlan/drupal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/larowlan/drupal/labels{/name}","releases_url":"https://api.github.com/repos/larowlan/drupal/releases{/id}","created_at":"2014-01-22T21:43:32Z","updated_at":"2014-06-07T21:15:45Z","pushed_at":"2014-06-07T21:15:45Z","git_url":"git://github.com/larowlan/drupal.git","ssh_url":"git@github.com:larowlan/drupal.git","clone_url":"https://github.com/larowlan/drupal.git","svn_url":"https://github.com/larowlan/drupal","homepage":"http://drupal.org/","size":108831,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"8.x"}},"_links":{"self":{"href":"https://api.github.com/repos/larowlan/drupal/pulls/3"},"html":{"href":"https://github.com/larowlan/drupal/pull/3"},"issue":{"href":"https://api.github.com/repos/larowlan/drupal/issues/3"},"comments":{"href":"https://api.github.com/repos/larowlan/drupal/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/larowlan/drupal/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/larowlan/drupal/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/larowlan/drupal/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/larowlan/drupal/statuses/3d090c6df78bbb148b052dc8153f0dec9be2e9d3"}}}}