Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Drupal\Core\Entity; /** * Provides a content entity with extended suppo..

Decoded Output download

<?php

namespace Drupal\Core\Entity;

/**
 * Provides a content entity with extended support for revisions.
 *
 * In addition to the parent entity class, base fields and methods for
 * accessing the revision log message, revision owner and the revision creation
 * time are provided.
 *
 * @ingroup entity_api
 */
abstract class RevisionableContentEntityBase extends ContentEntityBase implements RevisionLogInterface {

  use RevisionLogEntityTrait;

  /**
   * {@inheritdoc}
   */
  public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
    $fields = parent::baseFieldDefinitions($entity_type);

    $fields += static::revisionLogBaseFieldDefinitions($entity_type);
    return $fields;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Drupal\Core\Entity;

/**
 * Provides a content entity with extended support for revisions.
 *
 * In addition to the parent entity class, base fields and methods for
 * accessing the revision log message, revision owner and the revision creation
 * time are provided.
 *
 * @ingroup entity_api
 */
abstract class RevisionableContentEntityBase extends ContentEntityBase implements RevisionLogInterface {

  use RevisionLogEntityTrait;

  /**
   * {@inheritdoc}
   */
  public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
    $fields = parent::baseFieldDefinitions($entity_type);

    $fields += static::revisionLogBaseFieldDefinitions($entity_type);
    return $fields;
  }

}

Function Calls

None

Variables

None

Stats

MD5 07682434bf96184c4eb82cbe1f951352
Eval Count 0
Decode Time 115 ms